fix: connect with networks

This commit is contained in:
decentral1se 2024-03-23 11:26:16 +01:00
parent c44c5f6c85
commit a7b24998f7
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -11,6 +11,9 @@ services:
target: /etc/nginx/conf.d/default.conf
volumes:
- nginx-data:/usr/share/nginx/website
networks:
- proxy
- internal
deploy:
restart_policy:
condition: on-failure
@ -30,6 +33,8 @@ services:
- WHD_HOOK_SCRIPTS=/root/scripts
entrypoint: /root/scripts/deploy.sh
command: webhookd
networks:
- internal
configs:
- source: webhookd_script
target: /root/scripts/deploy.sh
@ -37,6 +42,11 @@ services:
volumes:
- nginx-data:/usr/share/nginx/website
networks:
internal:
proxy:
external: true
volumes:
nginx-data: