20 lines
416 B
YAML
20 lines
416 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
api:
|
||
|
restart: always
|
||
|
#image: ghcr.io/utahstate/slack-incidents
|
||
|
build: .
|
||
|
healthcheck:
|
||
|
test: ["CMD", "wget", "--spider", "http://localhost:8080/api/health"]
|
||
|
interval: 5s
|
||
|
timeout: 10s
|
||
|
retries: 5
|
||
|
env_file: .env
|
||
|
volumes:
|
||
|
- ./db:/app/db
|
||
|
- ./templates:/app/templates
|
||
|
- ./static:/app/static
|
||
|
ports:
|
||
|
- "127.0.0.1:4455:8080"
|