diff options
author | Rigel Kent <sendmemail@rigelk.eu> | 2020-03-03 00:29:52 +0100 |
---|---|---|
committer | Rigel Kent <sendmemail@rigelk.eu> | 2020-11-11 16:45:46 +0100 |
commit | 1a9b141d835cf3bfe9bdca67f881b520975f9058 (patch) | |
tree | 444b35656c7093250181121ccfadb870c5046be4 /support/docker/production/Dockerfile.buster | |
parent | 8e98e6124d2b006ba9f616b0dfce7369fa7b2684 (diff) | |
download | PeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.tar.gz PeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.tar.zst PeerTube-1a9b141d835cf3bfe9bdca67f881b520975f9058.zip |
Add nginx behind traefik in docker-compose + image updates
- support/docker/production/docker-compose.yml: addition of a nginx
image reusing support/nginx/peertube nginx conf to improve performance,
and lessen setup differences between the docker-compose install and the
typical production install.
- support/docker/production/docker-compose.yml: postgres 10 -> postgres
12, redis 4 -> redis 5. Postgres major updates implies manual upgrade.
- support/nginx/peertube: HTTP -> HTTPS redirection is now commented
by default, to allow its reuse in support/docker/production/docker-compose.yml.
Diffstat (limited to 'support/docker/production/Dockerfile.buster')
-rw-r--r-- | support/docker/production/Dockerfile.buster | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/docker/production/Dockerfile.buster b/support/docker/production/Dockerfile.buster index 414bf9aac..5af8aa29a 100644 --- a/support/docker/production/Dockerfile.buster +++ b/support/docker/production/Dockerfile.buster | |||
@@ -38,8 +38,8 @@ ENV NODE_CONFIG_DIR /config | |||
38 | VOLUME /data | 38 | VOLUME /data |
39 | VOLUME /config | 39 | VOLUME /config |
40 | 40 | ||
41 | COPY ./support/docker/production/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh | 41 | COPY ./support/docker/production/entrypoint.sh /usr/local/bin/entrypoint.sh |
42 | ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] | 42 | ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] |
43 | 43 | ||
44 | # Run the application | 44 | # Run the application |
45 | CMD ["npm", "start"] | 45 | CMD ["npm", "start"] |