aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to 'support/docker/production/docker-compose.yml')
-rw-r--r--support/docker/production/docker-compose.yml11
1 files changed, 6 insertions, 5 deletions
diff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.yml
index d17dbd0df..bce9426d2 100644
--- a/support/docker/production/docker-compose.yml
+++ b/support/docker/production/docker-compose.yml
@@ -6,6 +6,7 @@ services:
6 # nginx configuration file. It runs the default nginx configuration without HTTPS nor SSL, 6 # nginx configuration file. It runs the default nginx configuration without HTTPS nor SSL,
7 # so use it in production in tandem with an SSL-terminating reverse-proxy. 7 # so use it in production in tandem with an SSL-terminating reverse-proxy.
8 webserver: 8 webserver:
9 image: chocobozzz/peertube:webserver
9 build: 10 build:
10 context: . 11 context: .
11 dockerfile: Dockerfile.nginx 12 dockerfile: Dockerfile.nginx
@@ -16,9 +17,9 @@ services:
16 # - "9000:80" # serving HTTP 17 # - "9000:80" # serving HTTP
17 volumes: 18 volumes:
18 - type: bind 19 - type: bind
19 # Switch sources if you downloaded the nginx configuration without the whole repository 20 # Switch sources if you downloaded the whole repository
20 #source: ./peertube 21 #source: ../../nginx/peertube
21 source: ../../nginx/peertube 22 source: ./docker-volume/nginx/peertube
22 target: /etc/nginx/conf.d/peertube.template 23 target: /etc/nginx/conf.d/peertube.template
23 - assets:/var/www/peertube/peertube-latest/client/dist:ro 24 - assets:/var/www/peertube/peertube-latest/client/dist:ro
24 - ./docker-volume/data:/var/www/peertube/storage 25 - ./docker-volume/data:/var/www/peertube/storage
@@ -48,7 +49,7 @@ services:
48 restart: "always" 49 restart: "always"
49 50
50 postgres: 51 postgres:
51 image: postgres:10-alpine 52 image: postgres:13-alpine
52 env_file: 53 env_file:
53 - .env 54 - .env
54 volumes: 55 volumes:
@@ -56,7 +57,7 @@ services:
56 restart: "always" 57 restart: "always"
57 58
58 redis: 59 redis:
59 image: redis:5-alpine 60 image: redis:6-alpine
60 volumes: 61 volumes:
61 - ./docker-volume/redis:/data 62 - ./docker-volume/redis:/data
62 restart: "always" 63 restart: "always"