浏览代码

removes version parameter, adds external: true for volumes

master
Jean-Christophe Vanhalle 7 个月前
父节点
当前提交
7331fcf2d0
共有 1 个文件被更改,包括 9 次插入2 次删除
  1. 9
    2
      docker-compose.yml

+ 9
- 2
docker-compose.yml 查看文件

- 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

正在加载...
取消
保存