forked from SoDOff-Project/sodoff-mmo

- add run.sh and run.bat - change docker config - by default include source in docker image for simple debug (can be disabled via uncoment section in Dockerfile) - add docker-compose.yml - change default time to start first battle event after server start (login first player) to 3 minutes
22 lines
462 B
YAML
22 lines
462 B
YAML
version: '3.8'
|
|
services:
|
|
sodoffmmo:
|
|
build:
|
|
context: .
|
|
dockerfile: src/Dockerfile
|
|
ports:
|
|
- "9933:9933"
|
|
networks:
|
|
- sodoff_network
|
|
|
|
networks:
|
|
sodoff_network:
|
|
name: sodoff_network
|
|
# bellow network configuration should be put in at least one file
|
|
# - but it may be in many or all
|
|
# - without it it will work like `external: true`
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: "172.16.99.0/24"
|