Browse Source

removes version parameter, adds external: true for volumes

master
Jean-Christophe Vanhalle 8 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

- 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

Loading…
Cancel
Save