-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
24 lines (23 loc) · 830 Bytes
/
docker-compose.yml
File metadata and controls
24 lines (23 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3"
services:
ydl:
# Builds the local Dockerfile image
# Should probably push this somewhere
build: ./
ports:
- "8080:8080" #host : container
# restart: unless-stopped
volumes:
# Where downloaded videos should go
- /opt/youtubedownloads:/app/downloads
# Where the database is
- /opt/database:/app/db
environment:
- APPNAME=YDS
- ADMINUSER=admin
- PASSWORD=youtube
- TZ=Australia/Melbourne
#Docker-compose is a piece of kaka and will override the entrypoint in the Dockerfile
# Compose devs don't care: https://github.com/docker/compose/issues/3140
# So I need to double up and specify it here
entrypoint: "./startup.sh"