27 lines
670 B
YAML
27 lines
670 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
transcribe:
|
|
build: .
|
|
container_name: transcribe-app
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:80"
|
|
labels:
|
|
# Traefik labels for reverse proxy (if using Traefik)
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.transcribe.rule=Host(`transcribe.jeffemmett.com`)"
|
|
- "traefik.http.services.transcribe.loadbalancer.server.port=80"
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:80/"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|
|
networks:
|
|
- default
|
|
|
|
networks:
|
|
default:
|
|
name: transcribe-network
|