2022-11-17 14:47:25 +01:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
application:
|
|
|
|
image: chocobozzz/peertube:production-bullseye
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- "1935:1935"
|
|
|
|
- "{{http_port}}:9000"
|
|
|
|
volumes:
|
|
|
|
- assets:/app/client/dist
|
|
|
|
- data:/data
|
|
|
|
- config:/config
|
|
|
|
depends_on:
|
|
|
|
- database
|
|
|
|
- redis
|
|
|
|
restart: "always"
|
|
|
|
database:
|
2023-12-12 22:36:35 +01:00
|
|
|
image: postgres:alpine
|
2022-11-17 14:47:25 +01:00
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
|
|
|
- database:/var/lib/postgresql/data
|
|
|
|
restart: "always"
|
2023-12-12 22:36:35 +01:00
|
|
|
healthcheck:
|
|
|
|
test: ["CMD-SHELL", "pg_isready -U peertube"]
|
|
|
|
interval: 10s
|
|
|
|
timeout: 5s
|
|
|
|
retries: 6
|
2022-11-17 14:47:25 +01:00
|
|
|
redis:
|
2023-12-12 22:36:35 +01:00
|
|
|
image: redis:alpine
|
2022-11-17 14:47:25 +01:00
|
|
|
volumes:
|
|
|
|
- redis:/data
|
|
|
|
restart: "always"
|
2022-11-21 12:01:25 +01:00
|
|
|
env_file:
|
|
|
|
- .env
|
2022-11-17 14:47:25 +01:00
|
|
|
volumes:
|
|
|
|
assets:
|
|
|
|
database:
|
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
config:
|