Add volume for production_traefik in production.yml

This commit is contained in:
2024-02-28 14:49:38 +08:00
parent f5d1612510
commit 4b78dcebab
+4 -1
View File
@@ -11,6 +11,9 @@ x-environment: &default-environment
BAI_LOCATION: "/bai"
STREAMLIT_BAI_SERVER_PORT: "8502"
volumes:
production_traefik: {}
services:
osrm-backend:
environment:
@@ -72,7 +75,7 @@ services:
restart: always
volumes:
- "${LOG_PATH:-./logs}:/logs"
- "${ACME_PATH:-./acme.json}:/etc/traefik/acme/acme.json"
- production_traefik:/etc/traefik/acme:z
- "/var/run/docker.sock:/var/run/docker.sock:ro"
networks:
- net