Hard-code values without env vars
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-06-30 12:39:32 +02:00
parent 46968341c8
commit 0de813ab44
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 9 additions and 10 deletions

View File

@ -13,7 +13,7 @@ services:
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_ROOT_PASSWORD_FILE=/run/secrets/db_password
- DOMAIN=${DOMAIN}
- DOMAIN=nextcloud.swarm.autonomic.zone
volumes:
- nextcloud:/var/www/html
- nextapps:/var/www/html/custom_apps:cached
@ -30,9 +30,8 @@ services:
- "traefik.docker.network=proxy"
- "traefik.http.routers.nextcloud.tls=true"
- "traefik.http.services.nextcloud.loadbalancer.server.port=80"
- "traefik.http.routers.nextcloud.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.nextcloud.tls.certresolver=${LETS_ENCRYPT_ENV}"
#- "traefik.http.routers.nextcloud.tls.certresolver=staging"
- "traefik.http.routers.nextcloud.rule=Host(`nextcloud.swarm.autonomic.zone`)"
- "traefik.http.routers.nextcloud.tls.certresolver=production"
- "traefik.http.routers.nextcloud.entrypoints=web-secure"
mariadb:
@ -51,12 +50,12 @@ services:
- internal
secrets:
db_root_password:
external: true
name: ${STACK_NAME}_db_root_passwd_${DB_ROOT_PASSWD_VERSION}
db_password:
external: true
name: ${STACK_NAME}_db_passwd_${DB_ROOT_PASSWD_VERSION}
db_root_password:
external: true
name: nextcloud_db_root_passwd_v1
db_password:
external: true
name: nextcloud_db_passwd_v1
volumes:
nextcloud: