-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
144 lines (127 loc) · 2.57 KB
/
docker-compose.yml
File metadata and controls
144 lines (127 loc) · 2.57 KB
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
version: "3.9"
services:
db:
image: postgres:12-alpine
container_name: postgres_db_ide
ports:
- 5432:5432
restart: always
env_file: ./postgres-db/.env
networks:
- backend-network
volumes:
- pgdata:/var/lib/postgresql/data
nginx:
build:
context: .
dockerfile: extras/Dockerfile.nginx
container_name: nginx_ide
ports:
- 80:80
volumes:
- ./extras/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- auth
- backend
restart: always
networks:
- backend-network
codego:
build:
context: ./code-reciever-backernd
dockerfile: Dockerfile.go
container_name: codego
restart: always
networks:
- backend-network
codenode:
build:
context: ./code-reciever-backernd
dockerfile: Dockerfile.node
container_name: codenode
restart: always
networks:
- backend-network
codejava:
build:
context: ./code-reciever-backernd
dockerfile: Dockerfile.java
container_name: codejava
restart: always
networks:
- backend-network
codec:
build:
context: ./code-reciever-backernd
dockerfile: Dockerfile.c
container_name: codec
restart: always
networks:
- backend-network
codepython:
build:
context: ./code-reciever-backernd
dockerfile: Dockerfile.python
container_name: codepython
restart: always
networks:
- backend-network
backend:
build:
context: ./code-server-backernd
dockerfile: Dockerfile
container_name: backend
depends_on:
- codec
- codenode
- codejava
- codepython
- codego
ports:
- "5000:5000"
restart: always
networks:
- backend-network
auth:
build:
context: ./auth
dockerfile: Dockerfile
container_name: auth-be
ports:
- "8000:8000"
depends_on:
- db
restart: always
networks:
- backend-network
volumes:
- ./auth/:/home/
env_file: ./auth/.env
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4_container_ide
restart: always
ports:
- "8888:80"
environment:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: admin
depends_on:
- db
networks:
- backend-network
redis:
image: redis:latest
container_name: redis_ide_container
ports:
- 6379:6379
restart: always
networks:
- backend-network
volumes:
- redis-data:/data
networks:
backend-network:
volumes:
pgdata:
redis-data: