mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2024-11-25 14:11:03 +01:00
30 lines
704 B
Django/Jinja
30 lines
704 B
Django/Jinja
version: "3.3"
|
|
|
|
services:
|
|
|
|
{% include 'templates/docker/services/redis.yml.j2' %}
|
|
|
|
{% include 'templates/docker/services/' + database_type + '.yml.j2' %}
|
|
|
|
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"
|
|
{% include 'templates/docker/container/depends-on-database-redis.yml.j2' %}
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/volumes.yml.j2' %}
|
|
assets:
|
|
data:
|
|
redis:
|
|
config:
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %} |