22 lines
353 B
YAML
22 lines
353 B
YAML
|
|
services:
|
||
|
|
sojuboy:
|
||
|
|
build: .
|
||
|
|
image: sojuboy:latest
|
||
|
|
container_name: sojuboy
|
||
|
|
restart: unless-stopped
|
||
|
|
env_file: .env
|
||
|
|
ports:
|
||
|
|
- "8080:8080"
|
||
|
|
volumes:
|
||
|
|
- sojuboy_data:/data
|
||
|
|
healthcheck:
|
||
|
|
test: ["CMD", "/sojuboy", "--health"]
|
||
|
|
interval: 30s
|
||
|
|
timeout: 3s
|
||
|
|
retries: 3
|
||
|
|
volumes:
|
||
|
|
sojuboy_data: {}
|
||
|
|
|
||
|
|
|
||
|
|
|