瀏覽代碼

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 查看文件

@@ -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…
取消
儲存