2022-11-17 14:47:25 +01:00
|
|
|
services:
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2025-02-04 18:14:37 +01:00
|
|
|
{% include 'roles/docker-central-database/templates/services/' + database_type + '.yml.j2' %}
|
2024-01-03 11:38:09 +01:00
|
|
|
|
2022-11-17 14:47:25 +01:00
|
|
|
application:
|
2025-02-03 11:44:13 +01:00
|
|
|
image: chocobozzz/peertube:production-{{applications.peertube.version}}
|
2025-02-04 22:37:07 +01:00
|
|
|
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
2022-11-17 14:47:25 +01:00
|
|
|
ports:
|
2025-02-11 00:06:41 +01:00
|
|
|
- "1935:1935" # @todo Add to ports
|
|
|
|
- "127.0.0.1:{{http_port}}:9000"
|
2022-11-17 14:47:25 +01:00
|
|
|
volumes:
|
|
|
|
- assets:/app/client/dist
|
|
|
|
- data:/data
|
|
|
|
- config:/config
|
2024-01-19 15:12:18 +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
|
|
|
|
2024-01-19 15:12:18 +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:
|
|
|
|
|
2024-01-19 15:12:18 +01:00
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|