-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
112 lines (102 loc) · 2.1 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
services:
mongodb:
image: mongodb/mongodb-community-server:latest
ports:
- 127.0.0.1:42108:27017
command: mongod --quiet --logpath /dev/null
networks:
- appnetwork
postgresql:
image: postgres:latest
volumes:
- ./db/initdb.sql:/docker-entrypoint-initdb.d/initdb.sql
ports:
- 42110:5432
environment:
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
secrets:
- postgres_password
networks:
- appnetwork
irc-frontend:
build: ./irc-frontend
ports:
- 127.0.0.1:42102:5173
logging:
driver: "none"
depends_on:
- ws-backend
- java-api
networks:
- appnetwork
ws-backend:
build: ./node-websocket-server
ports:
- 127.0.0.1:42103:8801
volumes:
- ./node-websocket-server:/var/run/node-websocket-server
secrets:
- app_secret
depends_on:
- mongodb
networks:
- appnetwork
remote-access:
build: ./go-remote-access
ports:
- 127.0.0.1:42104:8023
volumes:
- ./go-remote-access:/var/run/go-remote-access
networks:
- appnetwork
java-api:
build: ./JavaApiBackend
ports:
- 127.0.0.1:42106:8081
secrets:
- postgres_password
- app_secret
depends_on:
- postgresql
networks:
- appnetwork
csharp-fileserver:
build: ./CSharpFileServer
ports:
- 127.0.0.1:42107:8080
networks:
- appnetwork
ruby-admin:
build: ./ruby-admin
environment:
- APP_ENV=production # Uses docker compose dns
ports:
- 127.0.0.1:42109:4568
networks:
- appnetwork
depends_on:
- postgresql
- java-api
irc.local:
image: nginx:alpine
ports:
- 127.0.0.1:42101:1337
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf
networks:
- appnetwork
depends_on:
- irc-frontend
- ws-backend
- remote-access
- java-api
- ruby-admin
secrets:
app_secret:
file: ./app_secret
postgres_password:
file: ./postgres_password
networks:
appnetwork:
driver: bridge
name: appnetwork