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

33 lines
628 B
Plaintext
Raw Normal View History

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