Add docker-compose.yml
This commit is contained in:
@@ -0,0 +1,30 @@
|
|||||||
|
services:
|
||||||
|
bugpin:
|
||||||
|
image: registry.arantic.cloud/bugpin/bugpin:latest
|
||||||
|
container_name: bugpin
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- "LOG_LEVEL=info"
|
||||||
|
networks:
|
||||||
|
- proxy-network
|
||||||
|
volumes:
|
||||||
|
- bugpin-data:/data
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "-q", "-O", "/dev/null", "http://localhost:7300/health"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 3s
|
||||||
|
retries: 3
|
||||||
|
start_period: 10s
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.bugpin.rule=Host(`bugpin.half.st`)"
|
||||||
|
- "traefik.http.routers.bugpin.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.bugpin.tls.certresolver=letsencrypt"
|
||||||
|
- "traefik.http.services.bugpin.loadbalancer.server.port=7300"
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
bugpin-data:
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy-network:
|
||||||
|
external: true
|
||||||
Reference in New Issue
Block a user