Add docker-compose configuration for server

This commit is contained in:
FeeeeK
2022-07-01 04:31:21 +03:00
parent c44ecd935a
commit 7b46d54d04
3 changed files with 20 additions and 1 deletions

3
.gitignore vendored
View File

@@ -36,3 +36,6 @@ CMakeSettings.json
/build
/clunk
/vangers
# Server env file
.env

3
server/.env.example Normal file
View 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
View 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