use naming convetions for services

Closes coop-cloud/outline#9
This commit is contained in:
2022-05-26 12:10:36 +02:00
parent 758d4d6af8
commit 4745b2e836
5 changed files with 10 additions and 6 deletions

View File

@ -1,8 +1,8 @@
export APP_ENTRYPOINT_VERSION=v4
export APP_ENTRYPOINT_VERSION=v5
migrate() {
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_postgres:5432/outline"
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_db:5432/outline"
yarn db:migrate --env=production-ssl-disabled
}