-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathdocker-compose.yml
52 lines (52 loc) · 1.21 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
44
45
46
47
48
49
50
51
52
version: '3'
services:
db:
hostname: db
image: postgres:latest
env_file: ${PWD-.}/config/db.env
volumes:
- ./database:/var/lib/postgresql/data
- ${PWD-.}/init-db:/docker-entrypoint-initdb.d
restart: unless-stopped
redis:
hostname: redis:5
image: redis:latest
command: ["redis-server", "--appendonly", "no"]
volumes:
- ${PWD-.}/redis:/data
restart: always
nwserver:
hostname: nwserver
stop_signal: SIGINT
image: nwnxee/unified:latest
env_file: ${PWD-.}/config/nwserver.env
links:
- "redis:redis"
stdin_open: true
tty: true
volumes:
- ${PWD-.}/logs:/nwn/run/logs.0
- ${PWD-.}/server/:/nwn/home
restart: unless-stopped
ports:
- "5121:5121/udp"
influxdb:
hostname: influxdb
image: influxdb:1.7
restart: unless-stopped
env_file: ${PWD-.}/config/influxdb.env
volumes:
- influxdb:/var/lib/influxdb
grafana:
hostname: grafana
image: grafana/grafana:6.0.1
restart: unless-stopped
depends_on:
- influxdb
env_file: ${PWD-.}/config/grafana.env
volumes:
- ./grafana-provisioning:/etc/grafana/provisioning
- grafana:/var/lib/grafana
volumes:
influxdb:
grafana: