-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcompose.yml
57 lines (53 loc) · 1.06 KB
/
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
53
54
55
56
57
services:
server:
container_name: "go-mud-server"
build:
dockerfile: ./provisioning/Dockerfile
args:
- BIN=go-mud-server
networks:
- mud_network
image: localhost/go-mud-server:${TAG:-latest}
environment:
SERVICE_NAME: go-mud-server
PORT: 33333
ports:
- 33333:33333
- 80:80
volumes:
- type: volume
source: log-volume
target: /app/log
busybox:
container_name: "server-logs"
image: busybox
command:
- "tail"
- "-F"
- "/app/log/logfile.log"
volumes:
- type: volume
source: log-volume
target: /app/log
terminal:
container_name: "mud-terminal"
build:
dockerfile: ./provisioning/terminal/Dockerfile
args:
- BIN=mud-terminal
stdin_open: true
tty: true
depends_on:
- server
networks:
- mud_network
environment:
PORT: 33333
SERVICE_NAME: mud-terminal
LINES: 50
COLUMNS: 120
volumes:
log-volume:
networks:
mud_network:
name: mud_network