prxyasd commited on
Commit
b0f41c3
ยท
verified ยท
1 Parent(s): 3873b4f

Create docker-compose.yml

Browse files
Files changed (1) hide show
  1. docker-compose.yml +16 -0
docker-compose.yml ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ version: '3'
2
+ services:
3
+ satisfactory-server:
4
+ build: . # ํ˜„์žฌ ๋””๋ ‰ํ† ๋ฆฌ์˜ Dockerfile๋กœ ๋นŒ๋“œ
5
+ container_name: satisfactory_server
6
+ ports:
7
+ - "7777:7777/udp" # ๊ฒŒ์ž„ ์„œ๋ฒ„ ํฌํŠธ
8
+ - "15000:15000/udp" # ํ†ต์‹  ํฌํŠธ
9
+ - "15777:15777/udp" # ๋˜ ๋‹ค๋ฅธ ๊ฒŒ์ž„ ์„œ๋ฒ„ ํฌํŠธ
10
+ volumes:
11
+ - ./config:/config # ๋กœ์ปฌ config ํด๋”์™€ ์ปจํ…Œ์ด๋„ˆ ๋‚ด๋ถ€์˜ config ํด๋”๋ฅผ ์—ฐ๊ฒฐ
12
+ environment:
13
+ - MAX_PLAYERS=10 # ์ตœ๋Œ€ ํ”Œ๋ ˆ์ด์–ด ์ˆ˜ ์„ค์ •
14
+ - SERVER_NAME=MyServer
15
+ - SERVER_PASSWORD=MyPassword
16
+ restart: unless-stopped