-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (45 loc) · 949 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
47
48
49
50
51
version: '3'
services:
contact-geo-api:
container_name: contact-geo-api
build:
context: ./backend/api
networks:
- app-geo-network
ports:
- "8080:8080"
depends_on:
- mongo-contact-geo
env_file: ./backend/api/_env
worker-contact-geo:
container_name: worker-contact-geo
build:
context: ./backend/api
networks:
- app-geo-network
depends_on:
- mongo-contact-geo
mongo-contact-geo:
container_name: mongo-contact-geo
image: mongo:5.0.3
volumes:
- ./.database/mongodb:/data/db
ports:
- "27017:27017"
networks:
- app-geo-network
contact-geo-front:
container_name: contact-geo-front
build:
context: ./frontend
args:
BACKEND_PORT: 8080
networks:
- app-geo-network
ports:
- "8089:80"
depends_on:
- contact-geo-api
networks:
app-geo-network:
driver: bridge