-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml.example
More file actions
32 lines (30 loc) · 1.26 KB
/
Copy pathdocker-compose.yml.example
File metadata and controls
32 lines (30 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# AVI2ATARI AVF Suite - example compose for a traefik-fronted deployment.
# Copy to docker-compose.yml, copy .env.example to .env, then `docker compose up -d`.
# Needs an existing external traefik network `traefik_public`.
services:
avi2atari:
build: .
container_name: avi2atari
restart: unless-stopped
env_file: .env
# scratch is RAM (tmpfs); nothing about a conversion is persisted
tmpfs:
- /dev/shm:size=1g
networks:
- traefik_public
labels:
- "traefik.enable=true"
- "traefik.docker.network=traefik_public"
- "traefik.http.routers.avi2atari.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.avi2atari.entrypoints=${TRAEFIK_ENTRYPOINT:-websecure}"
- "traefik.http.routers.avi2atari.tls=true"
# - "traefik.http.routers.avi2atari.tls.certresolver=le"
- "traefik.http.services.avi2atari.loadbalancer.server.port=8000"
# --- plain-HTTP fallback (uncomment to also serve on the HTTP
# entrypoint - handy to prove routing works without TLS) ---
# - "traefik.http.routers.avi2atari-http.rule=Host(`${DOMAIN}`)"
# - "traefik.http.routers.avi2atari-http.entrypoints=web"
# - "traefik.http.routers.avi2atari-http.service=avi2atari"
networks:
traefik_public:
external: true