Commit 823188df authored by ppom's avatar ppom

little fixes before first test

parent f7940605
...@@ -23,11 +23,10 @@ services: ...@@ -23,11 +23,10 @@ services:
# context: . # context: .
# dockerfile: ./support/docker/production/Dockerfile.buster # dockerfile: ./support/docker/production/Dockerfile.buster
image: chocobozzz/peertube:production-buster image: chocobozzz/peertube:production-buster
container_name: peertube container_name: peertube-app
env_file: env_file:
- ./secrets/peertube.secrets - ./secrets/peertube.secrets
# Traefik labels are suggested as an example for people using Traefik, - ./secrets/peertube-db.secrets
# remove them if you are using another reverse proxy.
labels: labels:
traefik.http.routers.peertube-app.entrypoints: websecure traefik.http.routers.peertube-app.entrypoints: websecure
traefik.http.routers.peertube-app.rule: Host(`peertube.test.picasoft.net`) traefik.http.routers.peertube-app.rule: Host(`peertube.test.picasoft.net`)
...@@ -36,9 +35,6 @@ services: ...@@ -36,9 +35,6 @@ services:
# (because Peertube permit to view a video hosted by host A on site B) # (because Peertube permit to view a video hosted by host A on site B)
traefik.http.middlewares.peertube-app.headers.framedeny: false traefik.http.middlewares.peertube-app.headers.framedeny: false
traefik.enable: "true" traefik.enable: "true"
# If you don't want to use a reverse proxy (not suitable for production!)
# ports:
# - "80:9000"
volumes: volumes:
- peertube_data:/data - peertube_data:/data
- peertube_config:/config - peertube_config:/config
...@@ -48,14 +44,13 @@ services: ...@@ -48,14 +44,13 @@ services:
depends_on: depends_on:
- postgres - postgres
- redis - redis
- postfix
restart: "always" restart: "always"
postgres: postgres:
image: postgres:10-alpine image: postgres:10-alpine
container_name: peertube_db container_name: peertube-db
env_file: env_file:
- ./secrets/peertube.secrets - ./secrets/peertube-db.secrets
volumes: volumes:
- peertube_psql:/var/lib/postgresql/data - peertube_psql:/var/lib/postgresql/data
networks: networks:
...@@ -66,7 +61,7 @@ services: ...@@ -66,7 +61,7 @@ services:
redis: redis:
image: redis:4-alpine image: redis:4-alpine
container_name: peertube_cache container_name: peertube-cache
volumes: volumes:
- peertube_redis_data:/data - peertube_redis_data:/data
networks: networks:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment