Browse Source

removes version parameter, adds external: true for volumes

master
Jean-Christophe Vanhalle 7 months ago
parent
commit
7331fcf2d0
1 changed files with 9 additions and 2 deletions
  1. 9
    2
      docker-compose.yml

+ 9
- 2
docker-compose.yml View File

@@ -78,24 +78,31 @@ services:
- traefik-logs:/logs
- traefik-static:/etc/traefik/static:ro

version: "3.4"

volumes:
cache:
external: true
name: composer-cache
db:
external: true
name: ${PREFIX}-db
root:
external: true
name: ${PREFIX}-root
traefik-certs:
external: true
name: ${PREFIX}-traefik-certs
traefik-dynamic:
external: true
name: ${PREFIX}-traefik-dynamic
traefik-logs:
external: true
name: ${PREFIX}-traefik-logs
traefik-static:
external: true
name: ${PREFIX}-traefik-static
webroot:
external: true
name: ${PREFIX}-webroot
wp-cli-cache:
external: true
name: wp-cli-cache

Loading…
Cancel
Save