This commit is contained in:
parent
26107257bc
commit
6ef2f30c0f
11
compose.yml
11
compose.yml
@ -1,4 +1,6 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "wordpress:5.8.1"
|
||||
@ -46,7 +48,8 @@ services:
|
||||
#- "traefik.http.routers.${STACK_NAME}.rule=HostRegexp(`{subdomain:.+}.${DOMAIN}`, `${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- coop-cloud.${STACK_NAME}.app.version=5.8.1-5de9ea7
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+5.8.1"
|
||||
|
||||
db:
|
||||
image: "mariadb:10.6"
|
||||
volumes:
|
||||
@ -61,15 +64,16 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
- db_root_password
|
||||
deploy:
|
||||
labels: ['coop-cloud.${STACK_NAME}.db.version=10.6-073317f']
|
||||
|
||||
networks:
|
||||
backend:
|
||||
proxy:
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
mariadb:
|
||||
wordpress_content:
|
||||
|
||||
secrets:
|
||||
db_root_password:
|
||||
external: true
|
||||
@ -77,6 +81,7 @@ secrets:
|
||||
db_password:
|
||||
external: true
|
||||
name: ${STACK_NAME}_db_password_${SECRET_DB_PASSWORD_VERSION}
|
||||
|
||||
configs:
|
||||
entrypoint_conf:
|
||||
name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
|
||||
|
Loading…
x
Reference in New Issue
Block a user