deploy: add container names and startup order to compose

This commit is contained in:
2026-08-04 23:11:04 +08:00
parent 8b9dd963e1
commit 8e8acdd859
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -16,6 +16,7 @@ services:
networks: [proxy]
labels:
- 'com.github.jrcs.letsencrypt_nginx_proxy_companion.nginx_proxy=true'
container_name: nginx-proxy
acme-companion:
image: nginxproxy/acme-companion
@@ -29,6 +30,7 @@ services:
- ./nginx-html:/usr/share/nginx/html:rw
- ./nginx-acme:/etc/acme.sh
networks: [proxy]
container_name: acme-companion
depends_on:
- nginx-proxy
@@ -54,6 +56,8 @@ services:
volumes:
- ./data:/app/data
networks: [proxy]
depends_on:
- nginx-proxy
container_name: tgxmb
networks: