2023-11-20 02:43:41 +08:00
|
|
|
# {{ ansible_managed }}
|
2024-06-09 10:12:32 +08:00
|
|
|
version: "3.8"
|
2023-11-20 02:43:41 +08:00
|
|
|
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
|
|
|
|
ports:
|
|
|
|
- 8911:10412
|
|
|
|
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"
|
|
|
|
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
|