[mastodon] Add nginx-proxy configuration
This commit is contained in:
parent
bf83184579
commit
c7f40eea95
1 changed files with 8 additions and 0 deletions
|
@ -34,6 +34,11 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- external_network
|
- external_network
|
||||||
- internal_network
|
- internal_network
|
||||||
|
- webproxy
|
||||||
|
environment:
|
||||||
|
- VIRTUAL_HOST=mastodon.jfreudenberger.de
|
||||||
|
- VIRTUAL_PORT=3000
|
||||||
|
- LETSENCRYPT_HOST=mastodon.jfreudenberger.de
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ['CMD-SHELL',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1"]
|
test: ['CMD-SHELL',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1"]
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -76,6 +81,9 @@ networks:
|
||||||
external_network:
|
external_network:
|
||||||
internal_network:
|
internal_network:
|
||||||
internal: true
|
internal: true
|
||||||
|
webproxy:
|
||||||
|
external:
|
||||||
|
name: webproxy
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
system:
|
system:
|
||||||
|
|
Loading…
Add table
Reference in a new issue