forked from Baaleos/nwn-dotnet-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (42 loc) · 1021 Bytes
/
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
version: '3.7'
services:
influxdb:
hostname: influxdb
image: influxdb:1.7
restart: unless-stopped
env_file: ${PWD-.}/config/influxdb.env
volumes:
- ${PWD-.}/Data/influxdb:/var/lib/influxdb
networks:
- backend
# this can be removed if you want to see influx logs when debugging
logging:
driver: "none"
redis:
hostname: redis
image: redis:5-alpine
command: ["redis-server", "--appendonly", "no"]
volumes:
- ${PWD-.}/Data/redis:/data
restart: unless-stopped
networks:
- backend
# this can be removed if you want to see redis logs when debugging
logging:
driver: "none"
nwserver:
hostname: nwserver
build:
context: ./
restart: unless-stopped
env_file: ${PWD-.}/config/nwserver.env
volumes:
- ${PWD-.}/server/:/nwn/home
- ${PWD-.}/logs:/nwn/run/logs.0
- ${PWD-.}/logs:/nwn/data/bin/linux-x86/logs.0
ports:
- '5121:5121/udp'
networks:
- backend
networks:
backend: