sculptor/docker-compose.example.yml
shiroyashik 0103c31d69
The Assets update is now working properly on Linux
Also added a new Workflow and disabled the Rust workflow.
Redesigned Dockerfile
2024-09-21 15:37:16 +03:00

39 lines
1.2 KiB
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
- ./data:/app/data
- ./logs:/app/logs
# You can specify the path to the server folder
# for Sculptor to use the ban list from it
# - ./minecraft-server:/app/mc
environment:
- RUST_LOG=info
# Set your timezone. https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
- TZ=Europe/Moscow
# ports:
# - 6665
## 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