computer-playbook/roles/docker-peertube/templates/docker-compose.yml.j2

28 lines
700 B
Plaintext
Raw Normal View History

2022-11-17 14:47:25 +01:00
services:
2024-01-19 15:12:18 +01:00
{% include 'templates/docker/services/redis.yml.j2' %}
2024-01-19 15:12:18 +01:00
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
2022-11-17 14:47:25 +01:00
application:
2024-07-10 19:24:52 +02:00
image: chocobozzz/peertube:production-{{peertube_version}}
2022-11-17 14:47:25 +01:00
env_file:
- .env
ports:
- "1935:1935"
- "{{http_port}}:9000"
volumes:
- assets:/app/client/dist
- data:/data
- config:/config
restart: "always"
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:
config:
2024-01-19 15:12:18 +01:00
{% include 'templates/docker/compose/networks.yml.j2' %}