Hard-code values without env vars
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
46968341c8
commit
0de813ab44
19
compose.yml
19
compose.yml
@ -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:
|
||||
|
Reference in New Issue
Block a user