Compare commits
4 Commits
ssh
...
1.1.0+5.9.
Author | SHA1 | Date | |
---|---|---|---|
2cb9b71e47 | |||
88ee8ae05e | |||
57122cd677 | |||
ab3361f46d |
14
compose.yml
14
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "wordpress:5.8.1"
|
||||
image: "wordpress:5.9.0"
|
||||
volumes:
|
||||
- "wordpress_content:/var/www/html/wp-content/"
|
||||
networks:
|
||||
@ -48,10 +48,12 @@ 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}.version=1.0.0+5.8.1"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.1.0+5.9.0"
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/var/www/html"
|
||||
|
||||
db:
|
||||
image: "mariadb:10.6"
|
||||
image: "mariadb:10.7"
|
||||
volumes:
|
||||
- "mariadb:/var/lib/mysql"
|
||||
networks:
|
||||
@ -64,6 +66,12 @@ services:
|
||||
secrets:
|
||||
- db_password
|
||||
- db_root_password
|
||||
deploy:
|
||||
labels:
|
||||
- "backupbot.backup=true"
|
||||
- "backupbot.backup.path=/tmp/dump.sql.gz"
|
||||
- "backupbot.backup.post-hook=rm -f /tmp/dump.sql.gz"
|
||||
- "backupbot.backup.pre-hook=mysqldump -u root -p`cat /run/secrets/db_root_password` wordpress | gzip > /tmp/dump.sql.gz"
|
||||
|
||||
networks:
|
||||
backend:
|
||||
|
Reference in New Issue
Block a user