Files
evening_detective/docker-compose.yml
T
2026-05-17 11:56:46 +07:00

53 lines
1.4 KiB
YAML

version: '3.8'
services:
evening_detective:
build:
context: .
dockerfile: Dockerfile
ports:
- "8090:8090" # api
- "8100:8100" # user
- "8110:8110" # admin
- "8120:8120" # files
environment:
- HOST=https://evening-detective.crabs-games.art
- FILE_HOST=https://evening-detective-files.crabs-games.art
networks:
- crabs-network
volumes:
- ./data:/data
labels:
# api
reproxy.1.server: "evening-detective-api.crabs-games.art"
reproxy.1.route: "/(.*)"
reproxy.1.dest: "http://evening_detective:8090/$$1"
reproxy.1.port: "8090"
reproxy.1.ping: "/"
# user
reproxy.2.server: "evening-detective.crabs-games.art"
reproxy.2.route: "/(.*)"
reproxy.2.dest: "http://evening_detective:8100/$$1"
reproxy.2.port: "8100"
reproxy.2.ping: "/"
# admin
reproxy.3.server: "evening-detective-admin.crabs-games.art"
reproxy.3.route: "/(.*)"
reproxy.3.dest: "http://evening_detective:8110/$$1"
reproxy.3.port: "8110"
reproxy.3.ping: "/"
# files
reproxy.4.server: "evening-detective-files.crabs-games.art"
reproxy.4.route: "/(.*)"
reproxy.4.dest: "http://evening_detective:8120/$$1"
reproxy.4.port: "8120"
reproxy.4.ping: "/"
networks:
crabs-network:
name: crabs-network
external: true