Convert compose files to yaml
toml conversion stopped working, don't want to fix it
This commit is contained in:
parent
9014f87dfd
commit
037967efd7
49 changed files with 904 additions and 773 deletions
|
@ -1,38 +0,0 @@
|
|||
[services.opentogethertube]
|
||||
image = "dyc3/opentogethertube"
|
||||
container_name = "opentogethertube"
|
||||
restart = "unless-stopped"
|
||||
environment = [
|
||||
"PORT=8080",
|
||||
"REDIS_HOST=redis",
|
||||
"REDIS_PORT=6379",
|
||||
"FFPROBE_PATH=/usr/bin/ffprobe",
|
||||
"DB_MODE=postgres",
|
||||
"POSTGRES_USER=opentogethertube",
|
||||
"POSTGRES_DB=opentogethertube",
|
||||
"POSTGRES_HOST=postgres",
|
||||
"POSTGRES_PASSWORD",
|
||||
"DOCKER=1",
|
||||
"OTT_HOSTNAME=ott.korhonen.cc",
|
||||
"YOUTUBE_API_KEY",
|
||||
"OPENTOGETHERTUBE_API_KEY",
|
||||
"SESSION_SECRET",
|
||||
]
|
||||
ports = ["8080:8080", "3002:3002"]
|
||||
networks = ["default", "postgres", "proxy"]
|
||||
depends_on = ["redis"]
|
||||
volumes = ["./production.toml:/app/env/production.toml"]
|
||||
|
||||
[services.redis]
|
||||
container_name = "redis-opentogethertube"
|
||||
image = "redis:alpine"
|
||||
restart = "unless-stopped"
|
||||
|
||||
[services.redis.healthcheck]
|
||||
test = "redis-cli ping"
|
||||
|
||||
[networks.postgres]
|
||||
external = true
|
||||
|
||||
[networks.proxy]
|
||||
external = true
|
42
docker/opentogethertube/docker-compose.yaml
Normal file
42
docker/opentogethertube/docker-compose.yaml
Normal file
|
@ -0,0 +1,42 @@
|
|||
services:
|
||||
opentogethertube:
|
||||
image: dyc3/opentogethertube
|
||||
container_name: opentogethertube
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PORT=8080
|
||||
- REDIS_HOST=redis
|
||||
- REDIS_PORT=6379
|
||||
- FFPROBE_PATH=/usr/bin/ffprobe
|
||||
- DB_MODE=postgres
|
||||
- POSTGRES_USER=opentogethertube
|
||||
- POSTGRES_DB=opentogethertube
|
||||
- POSTGRES_HOST=postgres
|
||||
- POSTGRES_PASSWORD
|
||||
- DOCKER=1
|
||||
- OTT_HOSTNAME=ott.korhonen.cc
|
||||
- YOUTUBE_API_KEY
|
||||
- OPENTOGETHERTUBE_API_KEY
|
||||
- SESSION_SECRET
|
||||
ports:
|
||||
- 8080:8080
|
||||
- 3002:3002
|
||||
networks:
|
||||
- default
|
||||
- postgres
|
||||
- proxy
|
||||
depends_on:
|
||||
- redis
|
||||
volumes:
|
||||
- ./production.toml:/app/env/production.toml
|
||||
redis:
|
||||
container_name: redis-opentogethertube
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: redis-cli ping
|
||||
networks:
|
||||
postgres:
|
||||
external: true
|
||||
proxy:
|
||||
external: true
|
Loading…
Add table
Add a link
Reference in a new issue