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:
|
2024-10-05 11:47:43 +08:00
|
|
|
name: cloudtube
|