-
Notifications
You must be signed in to change notification settings - Fork 108
/
DockerGS_GC_Public.yml
48 lines (48 loc) · 1.17 KB
/
DockerGS_GC_Public.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
version: '3'
services:
web:
image: jc21/nginx-proxy-manager
deploy:
resources:
limits:
memory: 150M
restart: always
ports:
- '80:80'
- '81:81'
- '443:443'
volumes:
- ./data_web:/data
- ./letsencrypt:/etc/letsencrypt
mongodb:
restart: always
image: mongo
deploy:
resources:
limits:
memory: 1G
ports:
- "5712:27017"
volumes:
- ./data_db:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: yourusername
MONGO_INITDB_ROOT_PASSWORD: moepasswordroot
grasscutter:
restart: always
container_name: dockergs
image: siakbary/dockergs:alpine-gc-3.5
deploy:
resources:
limits:
memory: 5G
command: --database 'mongodb://yourusername:moepasswordroot@mongodb:27017' --web_ip '2.0.0.100' --web_port "80" --game_ip '2.0.0.100' --download_resource 'yes' --java '-Xmx1G' --ssl "false" --web_url_ssl "false"
volumes:
- ./res/31:/home/dockergs/resources
ports:
- "22102:22102/udp"
depends_on:
- mongodb
stdin_open: true
tty: true
init: true