aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/Dockerfile.nginx
diff options
context:
space:
mode:
authorRigel Kent <sendmemail@rigelk.eu>2020-03-03 00:29:52 +0100
committerRigel Kent <sendmemail@rigelk.eu>2020-11-11 16:45:46 +0100
commit1a9b141d835cf3bfe9bdca67f881b520975f9058 (patch)
tree444b35656c7093250181121ccfadb870c5046be4 /support/docker/production/Dockerfile.nginx
parent8e98e6124d2b006ba9f616b0dfce7369fa7b2684 (diff)
downloadPeerTube-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.nginx')
-rw-r--r--support/docker/production/Dockerfile.nginx8
1 files changed, 8 insertions, 0 deletions
diff --git a/support/docker/production/Dockerfile.nginx b/support/docker/production/Dockerfile.nginx
new file mode 100644
index 000000000..36ae3c3bc
--- /dev/null
+++ b/support/docker/production/Dockerfile.nginx
@@ -0,0 +1,8 @@
1FROM nginx:alpine
2
3COPY entrypoint.nginx.sh .
4RUN chmod +x entrypoint.nginx.sh
5
6EXPOSE 80
7ENTRYPOINT []
8CMD ["/bin/sh", "entrypoint.nginx.sh"] \ No newline at end of file