sculptor/docker-compose.example.yml
shiroyashik dabe176e0e
(*≧ω≦*) Preparing for 0.3.0 release!
~ README revised
~ updated Docker files
+ all const are placed in a separate file
+ auto creation for avatars folder
+ automatic retrieval of the latest Figura version for version request in api
2024-08-19 22:54:45 +03:00

32 lines
911 B
YAML

name: sculptor
services:
sculptor:
# build: .
image: ghcr.io/shiroyashik/sculptor:latest
container_name: sculptor
healthcheck:
test: wget --no-verbose --tries=1 --spider http://sculptor:6665/health || exit 1
interval: 5s
timeout: 3s
retries: 3
start_period: 5s
restart: unless-stopped
volumes:
- ./Config.toml:/app/Config.toml:ro
- ./avatars:/app/avatars
- ./logs:/app/logs
environment:
- RUST_LOG=info
## Recommended for use with reverse proxy.
# networks:
# - traefik
# labels:
# - traefik.enable=true
# - traefik.http.routers.sculptor.rule=Host(`mc.example.com`)
# - traefik.http.routers.sculptor.entrypoints=websecure, web
# - traefik.http.routers.sculptor.tls=true
# - traefik.http.routers.sculptor.tls.certresolver=production
# networks:
# traefik:
# external: true