removes version parameter, adds external: true for volumes

This commit is contained in:
Jean-Christophe Vanhalle
2025-05-12 10:04:25 +02:00
parent 8997df6327
commit 7331fcf2d0

View File

@@ -78,24 +78,31 @@ services:
- traefik-logs:/logs - traefik-logs:/logs
- traefik-static:/etc/traefik/static:ro - traefik-static:/etc/traefik/static:ro
version: "3.4"
volumes: volumes:
cache: cache:
external: true
name: composer-cache name: composer-cache
db: db:
external: true
name: ${PREFIX}-db name: ${PREFIX}-db
root: root:
external: true
name: ${PREFIX}-root name: ${PREFIX}-root
traefik-certs: traefik-certs:
external: true
name: ${PREFIX}-traefik-certs name: ${PREFIX}-traefik-certs
traefik-dynamic: traefik-dynamic:
external: true
name: ${PREFIX}-traefik-dynamic name: ${PREFIX}-traefik-dynamic
traefik-logs: traefik-logs:
external: true
name: ${PREFIX}-traefik-logs name: ${PREFIX}-traefik-logs
traefik-static: traefik-static:
external: true
name: ${PREFIX}-traefik-static name: ${PREFIX}-traefik-static
webroot: webroot:
external: true
name: ${PREFIX}-webroot name: ${PREFIX}-webroot
wp-cli-cache: wp-cli-cache:
external: true
name: wp-cli-cache name: wp-cli-cache