Skip to content

Commit

Permalink
try and start the service on 443
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsndk committed Oct 13, 2024
1 parent 8cf3229 commit 577d8e6
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,24 +34,28 @@ services:
eu1:
image: game_server_image

# coolify + traefik runs on port 80/433 by default and maps a domain name to an internal service e.g. eu1.thmsn.adventureland.community points to eu1:8022 inside docker
# if you want to run this on localhost, change port 443 to 8022
ports:
- "8022:8022"
entrypoint: ["bash", "/adventureland/node-server-entrypoint.sh", "EU", "I", "8022"]
- "8022:443"
# - "8022:8022"
entrypoint: ["bash", "/adventureland/node-server-entrypoint.sh", "EU", "I", "443"]
# entrypoint: ["bash", "/adventureland/node-server-entrypoint.sh", "EU", "I", "8022"]
depends_on:
- adventureland
volumes:
# you will need to initialize the config file before docker can start, it will fail to mount if they don't exist
- ./config/variables.js:/adventureland/node/variables.js
labels:
# let traefik listen to this port as well and not only 80/433
- "traefik.http.services.websocket.loadbalancer.server.port=8022"
# - "traefik.http.services.websocket.loadbalancer.server.port=8022"

# us1:
# image: game_server_image

# ports:
# - "8023:8023"
# entrypoint: ["bash", "/adventureland/node-server-entrypoint.sh", "US", "I", "8023"]
# - "8023:80"
# entrypoint: ["bash", "/adventureland/node-server-entrypoint.sh", "US", "I", "80"]
# depends_on:
# - adventureland
# volumes:
Expand Down

0 comments on commit 577d8e6

Please sign in to comment.