Adds better support to run commands via `docker exec ...` by setting the working directory to be ytdl-sub's working directory.
Thanks @rpatterson for the contribution 😊
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
services:
|
|
ytdl-sub-gui:
|
|
build:
|
|
context: "../"
|
|
dockerfile: "./Dockerfile.gui"
|
|
image: "ytdl-sub-gui:local"
|
|
container_name: "ytdl-sub-gui"
|
|
environment:
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
TZ: "America/Los_Angeles"
|
|
CRON_SCHEDULE: '"*/1 * * * *"'
|
|
CRON_RUN_ON_START: "true"
|
|
volumes:
|
|
- "./volumes/ytdl-sub-gui/:/config/"
|
|
ports:
|
|
- "8443:8443"
|
|
restart: "unless-stopped"
|
|
ytdl-sub-headless:
|
|
build:
|
|
context: "../"
|
|
image: "ytdl-sub-headless:local"
|
|
container_name: "ytdl-sub-headless"
|
|
environment:
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
TZ: "America/Los_Angeles"
|
|
CRON_SCHEDULE: '"*/1 * * * *"'
|
|
CRON_RUN_ON_START: "true"
|
|
volumes:
|
|
- "./volumes/ytdl-sub-headless/:/config/"
|
|
restart: "unless-stopped"
|
|
ytdl-sub-ubuntu:
|
|
build:
|
|
context: "../"
|
|
dockerfile: "./Dockerfile.ubuntu"
|
|
image: "ytdl-sub-ubuntu:local"
|
|
container_name: "ytdl-sub-ubuntu"
|
|
environment:
|
|
PUID: "1000"
|
|
PGID: "1000"
|
|
TZ: "America/Los_Angeles"
|
|
CRON_SCHEDULE: '"*/1 * * * *"'
|
|
CRON_RUN_ON_START: "true"
|
|
volumes:
|
|
- "./volumes/ytdl-sub-ubuntu/:/config/"
|
|
restart: "unless-stopped"
|