forked from EvEmu-Project/evemu_Crucible
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
44 lines (42 loc) · 1.27 KB
/
docker-compose.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
version: "2.2"
services:
server:
build: . #Build image from source repository
#image: "quay.io/evemu/server:latest" #Use prebuilt image
volumes:
- config:/app/etc
- server_cache:/app/server_cache
- image_cache:/app/image_cache
ports:
- "26000:26000"
- "26001:26001"
depends_on:
- db
links:
- "db"
environment:
- SEED_MARKET=FALSE # Set to TRUE to seed the market when the server starts for the first time
- SEED_SATURATION=80 # Set saturation level of seed
- SEED_REGIONS=Derelik,The Citadel,The Forge # Define regions to be seeded
- RUN_WITH_GDB=FALSE #Set to TRUE to run evemu with gdb automatically
stdin_open: true # Enables stdin for the container. Attach to it with 'docker attach'
tty: true
cap_add: #This is required for gdb to work
- SYS_PTRACE
db:
image: "quay.io/bitnami/mariadb:10.4"
volumes:
- db:/bitnami/mariadb
# If you want to connect to the Database pick your host port to map it to, (host-port:container-port) below.
#ports:
# - "3306:3306"
environment:
- ALLOW_EMPTY_PASSWORD=yes
- MARIADB_USER=evemu
- MARIADB_PASSWORD=evemu
- MARIADB_DATABASE=evemu
volumes:
db:
config:
server_cache:
image_cache: