This commit is contained in:
2026-05-16 14:43:10 +07:00
parent ae20c57ecb
commit b8b6d86393
5 changed files with 33 additions and 16 deletions
+28 -13
View File
@@ -6,28 +6,43 @@ services:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
- "8090:8090"
- "8100:8100"
- "8110:8110"
- "8120:8120"
- "8090:8090" # api
- "8100:8100" # user
- "8110:8110" # admin
- "8120:8120" # files
networks:
- crabs-network
volumes:
- data:/data
- ./data:/data
labels:
reproxy.1.server: "rodniki.crabs-games.art"
reproxy.1.route: "^/schedule"
reproxy.1.dest: "http://pinned_message:8210/schedule"
reproxy.1.port: "8210"
# 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: "/"
reproxy.2.server: "rodniki.crabs-games.art"
# user
reproxy.2.server: "evening-detective.crabs-games.art"
reproxy.2.route: "/(.*)"
reproxy.2.dest: "http://pinned_message:8220/$$1"
reproxy.2.port: "8220"
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: "/"
# admin
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