mirror of
https://github.com/nirvana-7777/script.service.ultimate.git
synced 2026-10-31 11:12:45 +01:00
Dockerize addon
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
ultimate-backend:
|
||||
build: .
|
||||
container_name: ultimate-backend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "7777:7777"
|
||||
environment:
|
||||
- ULTIMATE_PORT=7777
|
||||
- ULTIMATE_COUNTRY=DE
|
||||
- TZ=Europe/Berlin
|
||||
- DEBUG_MODE=true
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- ./logs:/logs
|
||||
- ./cache:/cache
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://localhost:7777/api/providers"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 5s
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.ultimate.rule=Host(`ultimate.local`)"
|
||||
- "traefik.http.services.ultimate.loadbalancer.server.port=7777"
|
||||
Reference in New Issue
Block a user