fix: connect with networks
This commit is contained in:
parent
c44c5f6c85
commit
a7b24998f7
10
compose.yml
10
compose.yml
@ -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:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user