diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-05 09:52:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-05 09:52:14 +0100 |
commit | 0a0e0d082f778fca86ab73313c130ef92b5f840d (patch) | |
tree | a97a19162e497770449d594ac70c85b469644708 /support/docker | |
parent | 2f03d6dc5e1ff6a8f28cba566f56e72bfb9f3fc8 (diff) | |
download | PeerTube-0a0e0d082f778fca86ab73313c130ef92b5f840d.tar.gz PeerTube-0a0e0d082f778fca86ab73313c130ef92b5f840d.tar.zst PeerTube-0a0e0d082f778fca86ab73313c130ef92b5f840d.zip |
Fix docker nginx container if peertube restarts
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/docker-compose.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml index 4ad1a8756..e23f31c39 100644 --- a/support/docker/production/docker-compose.yml +++ b/support/docker/production/docker-compose.yml | |||
@@ -46,6 +46,11 @@ services: | |||
46 | # context: . | 46 | # context: . |
47 | # dockerfile: ./support/docker/production/Dockerfile.buster | 47 | # dockerfile: ./support/docker/production/Dockerfile.buster |
48 | image: chocobozzz/peertube:production-buster | 48 | image: chocobozzz/peertube:production-buster |
49 | # Use a static IP for this container because nginx does not handle proxy host change without reload | ||
50 | # This container could be restarted on crash or until the postgresql database is ready for connection | ||
51 | networks: | ||
52 | default: | ||
53 | ipv4_address: 172.18.0.42 | ||
49 | env_file: | 54 | env_file: |
50 | - .env | 55 | - .env |
51 | # If you provide your own webserver and reverse-proxy, otherwise not suitable for production: | 56 | # If you provide your own webserver and reverse-proxy, otherwise not suitable for production: |