mirror of
https://github.com/Empostor/Empostor.git
synced 2026-10-20 01:46:07 +00:00
26 lines
666 B
YAML
26 lines
666 B
YAML
services:
|
|
empostor:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: empostor-server
|
|
restart: unless-stopped
|
|
ports:
|
|
- "22023:22023/tcp"
|
|
- "22023:22023/udp"
|
|
volumes:
|
|
- ./config.json:/app/config.json:ro
|
|
- ./Log:/app/Log
|
|
- ./plugins:/app/plugins
|
|
- ./Languages:/app/Languages
|
|
- ./marketplace:/app/marketplace
|
|
environment:
|
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
- EMPOSTOR_Server__PublicIp=0.0.0.0
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://localhost:80/api/admin/update/check"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|
|
start_period: 10s
|