-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
61 lines (57 loc) · 1.18 KB
/
docker-compose-dev.yml
File metadata and controls
61 lines (57 loc) · 1.18 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
version: "3.7"
services:
rabbitmq:
image: rabbitmq:3-management-alpine
container_name: 'rabbitmq'
ports:
- 5672:5672
- 15672:15672
volumes:
- ./rabbitmq/data/:/var/lib/rabbitmq/
- ./rabbitmq/log/:/var/log/rabbitmq
networks:
- internal_network
backend:
container_name: 'backend'
depends_on:
- rabbitmq
build:
context: ./BackendApplication/
dockerfile: Dockerfile
ports:
- 5000:80
networks:
- internal_network
restart: always
vue-ui:
image: 'node:16.7'
ports:
- "8080:8080"
networks:
- internal_network
stdin_open: true
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
- VUE_APP_SERVER_URL=http://localhost:5000/
working_dir: /app
container_name: vue-ui
volumes:
- ./Frontend:/app
command: /app/entrypoint.sh
mongodb:
image: mongo
container_name: mongodb
environment:
- PUID=1000
- PGID=1000
volumes:
- ./mongodb/database:/data/db
ports:
- 27017:27017
networks:
- internal_network
restart: unless-stopped
networks:
internal_network:
driver: bridge