Commit 9f1cfb37 authored by ppom's avatar ppom

[peertube] little fixes before first test

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