[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:
|
||||
- external_network
|
||||
- internal_network
|
||||
- webproxy
|
||||
environment:
|
||||
- VIRTUAL_HOST=mastodon.jfreudenberger.de
|
||||
- VIRTUAL_PORT=3000
|
||||
- LETSENCRYPT_HOST=mastodon.jfreudenberger.de
|
||||
healthcheck:
|
||||
test: ['CMD-SHELL',"curl -s --noproxy localhost localhost:3000/health | grep -q 'OK' || exit 1"]
|
||||
depends_on:
|
||||
|
@ -76,6 +81,9 @@ networks:
|
|||
external_network:
|
||||
internal_network:
|
||||
internal: true
|
||||
webproxy:
|
||||
external:
|
||||
name: webproxy
|
||||
|
||||
volumes:
|
||||
system:
|
||||
|
|
Loading…
Add table
Reference in a new issue