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
|
2023-12-31 11:14:18 +01:00
|
|
|
restart: "always"
|
2022-11-17 14:47:25 +01:00
|
|
|
depends_on:
|
|
|
|
- redis
|
2024-01-02 12:23:25 +01:00
|
|
|
{% if not enable_central_database %}
|
2023-12-31 11:14:18 +01:00
|
|
|
- database
|
|
|
|
|
2024-01-02 21:13:34 +01:00
|
|
|
{% include 'templates/docker-{{ database_type }}-service.yml.j2' %}
|
2023-12-31 11:14:18 +01:00
|
|
|
{% endif %}
|
2023-12-26 16:40:19 +01:00
|
|
|
|
|
|
|
{% include 'templates/docker-redis-service.yml.j2' %}
|
|
|
|
|
2022-11-21 12:01:25 +01:00
|
|
|
env_file:
|
|
|
|
- .env
|
2022-11-17 14:47:25 +01:00
|
|
|
volumes:
|
|
|
|
assets:
|
2024-01-02 21:13:34 +01:00
|
|
|
{% include 'templates/docker-database-volume.yml.j2' %}
|
2022-11-17 14:47:25 +01:00
|
|
|
data:
|
|
|
|
redis:
|
|
|
|
config:
|