mirror of
https://github.com/KranX/Vangers.git
synced 2025-11-30 23:15:27 +07:00
Add docker-compose configuration for server
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -36,3 +36,6 @@ CMakeSettings.json
|
||||
/build
|
||||
/clunk
|
||||
/vangers
|
||||
|
||||
# Server env file
|
||||
.env
|
||||
|
||||
3
server/.env.example
Normal file
3
server/.env.example
Normal file
@@ -0,0 +1,3 @@
|
||||
SERVER=0.0.0.0 # Server ip
|
||||
CER_FILE= # Path to certificate file for websockify
|
||||
KEY_FILE= # Path to key file for websockify
|
||||
13
server/docker-compose.yml
Normal file
13
server/docker-compose.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
version: "3.7"
|
||||
|
||||
services:
|
||||
server:
|
||||
build: .
|
||||
image: vangers_server
|
||||
container_name: vangers_server
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "2197:2197"
|
||||
- "2198:2198"
|
||||
env_file:
|
||||
- .env
|
||||
Reference in New Issue
Block a user