-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
67 lines (61 loc) · 1.25 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
version: '3.7'
services:
dns:
image: dns
volumes:
- /home/ubuntu/Desktop/logs/dns:/logs
build:
context: ./cmd/dns/
dockerfile: Dockerfile
env_file: .env
logger:
image: logger
volumes:
- /home/ubuntu/Desktop/logs/logger:/logs
build:
context: ./cmd/logger/
dockerfile: Dockerfile
env_file: .env
depends_on:
- dns
noteserver:
image: gonotesd
volumes:
- /home/ubuntu/Desktop/notes:/notes
- /home/ubuntu/Desktop/logs/server:/logs
build:
context: ../project-0/cmd/GoNotesd/
dockerfile: Dockerfile
env_file: ../project-0/.env
depends_on:
- dns
- logger
reverseproxy:
image: rproxy
volumes:
- /home/ubuntu/Desktop/logs/reverseproxy:/logs
build:
context: ./cmd/reverseproxy/
dockerfile: Dockerfile
ports:
- 6060:6060
env_file: .env
depends_on:
- dns
- logger
- noteserver
dashboard:
image: dashboard
volumes:
- /home/ubuntu/Desktop/logs/dashboard:/logs
build:
context: ./cmd/dashboard/
dockerfile: Dockerfile
ports:
- 80:80
env_file: .env
depends_on:
- dns
- logger
- noteserver
- reverseproxy