0
0
opnxng-deploy-playbook/templates/compose/cloudtube.yaml.j2

45 lines
1.0 KiB
Plaintext
Raw Normal View History

2023-11-20 02:43:41 +08:00
# {{ ansible_managed }}
services:
cloudtube:
image: abeltramo/cloudtube:latest
container_name: cloudtube
security_opt:
- no-new-privileges
cap_drop:
- ALL
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
depends_on:
- newleaf
restart: unless-stopped
volumes:
- {{ docker_dir }}/cloudtube/db:/workdir/db
- {{ docker_dir }}/cloudtube/config.js:/workdir/config/config.js #instance should be "http://newleaf:3000"
2024-08-11 21:41:34 +08:00
ports:
- 8911:10412
2023-11-20 02:43:41 +08:00
networks:
- cloudtube
newleaf:
image: abeltramo/newleaf:latest
container_name: newleaf
security_opt:
- no-new-privileges
cap_drop:
- ALL
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Singapore
restart: unless-stopped
volumes:
- {{ docker_dir }}/cloudtube/configuration.py:/workdir/configuration.py #set e.g. website_origin = "https://tube.domain.tld" and bind_port = 3000
networks:
- cloudtube
networks:
cloudtube:
name: cloudtube