[variables]
main_domain = "${domain}"
postgres_password = "${password:32}"
admin_password = "${password:32}"
jwt_secret = "${jwt:jwt_secret}"

[config]

[[config.domains]]
serviceName = "picsur"
port = 8080
host = "${main_domain}"

[config.env]
"PICSUR_DB_PASSWORD" = "${postgres_password}"
"PICSUR_ADMIN_PASSWORD" = "${admin_password}"
"PICSUR_JWT_SECRET" = "${jwt_secret}"
"POSTGRES_PASSWORD" = "${postgres_password}"

[[config.mounts]]
name = "picsur-data"
serviceName = "picsur_postgres"
mountPath = "/var/lib/postgresql/data"
