mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
1d3d792e12
* feat: . * feat: delete old data folder * fix: rename zipline-db service to zipline_postgres in compose.yaml * fix: add zipline compose to include list * fix: add redis service for stremthru * docs: add instructions in .env files * feat: remove docker folder and place apps and data folder in root dir * fix: add empty tokens.json file for plex_authentication * fix: add aiostremio template config * docs: update README with Authelia authentication and clarify setup instructions * fix: update stremthru_redis volume path and profile name in compose.yaml
52 lines
1.4 KiB
YAML
52 lines
1.4 KiB
YAML
services:
|
|
comet:
|
|
container_name: comet
|
|
image: g0ldyy/comet:latest
|
|
restart: unless-stopped
|
|
expose:
|
|
- 2020
|
|
env_file:
|
|
- .env
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.comet.rule=Host(`${COMET_HOSTNAME}`)"
|
|
- "traefik.http.routers.comet.entrypoints=websecure"
|
|
- "traefik.http.routers.comet.tls.certresolver=letsencrypt"
|
|
- "flame.type=app"
|
|
- "flame.name=Comet"
|
|
- "flame.url=https://${COMET_HOSTNAME}"
|
|
volumes:
|
|
- ${DOCKER_DATA_DIR}/comet:/app/data
|
|
healthcheck:
|
|
test: wget -qO- http://127.0.0.1:2020/health
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 5
|
|
start_period: 10s
|
|
profiles:
|
|
- comet
|
|
- stremio
|
|
- all
|
|
|
|
# If you would like to use postgres instead of sqlite, uncomment the followling lines,
|
|
# and set the DATABASE_TYPE to postgres and DATABASE_URL to
|
|
# comet_postgres:
|
|
# image: postgres:latest
|
|
# container_name: comet_postgres
|
|
# restart: unless-stopped
|
|
# volumes:
|
|
# - ${DOCKER_DATA_DIR}/comet/postgres:/var/lib/postgresql/data
|
|
# environment:
|
|
# - POSTGRES_USER=comet
|
|
# - POSTGRES_PASSWORD=comet
|
|
# - POSTGRES_DB=comet
|
|
# healthcheck:
|
|
# test: ["CMD", "pg_isready", "-U", "comet"]
|
|
# interval: 10s
|
|
# timeout: 5s
|
|
# retries: 5
|
|
# profiles:
|
|
# - comet
|
|
# - stremio
|
|
# - all
|