Skip to content

Commit

Permalink
Add docker-compose configuration for server
Browse files Browse the repository at this point in the history
  • Loading branch information
FeeeeK committed Jul 1, 2022
1 parent c44ecd9 commit 7b46d54
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,7 @@ CMakeSettings.json
/ffmpeg
/build
/clunk
/vangers
/vangers

# Server env file
.env
3 changes: 3 additions & 0 deletions server/.env.example
Original file line number Diff line number Diff line change
@@ -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 changes: 13 additions & 0 deletions server/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7b46d54

Please sign in to comment.