2022-11-17 14:47:25 +01:00
|
|
|
version: "3.3"
|
|
|
|
|
|
|
|
services:
|
2024-01-03 11:38:09 +01:00
|
|
|
|
|
|
|
{% include 'templates/docker-service-redis.yml.j2' %}
|
|
|
|
|
|
|
|
{% include 'templates/docker-service-{{ database_type }}.yml.j2' %}
|
|
|
|
|
2022-11-17 14:47:25 +01:00
|
|
|
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"
|
2024-01-03 11:38:09 +01:00
|
|
|
{% include 'templates/docker-container-depends-on-database-redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker-container-networks.yml.j2' %}
|
2024-01-02 21:39:17 +01:00
|
|
|
|
|
|
|
{% include 'templates/docker-compose-volumes.yml.j2' %}
|
2022-11-17 14:47:25 +01:00
|
|
|
assets:
|
|
|
|
data:
|
|
|
|
redis:
|
2024-01-03 11:38:09 +01:00
|
|
|
config:
|
|
|
|
|
|
|
|
{% include 'templates/docker-compose-networks.yml.j2' %}
|