forked from zalopay-oss/hey-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
48 lines (43 loc) · 931 Bytes
/
docker-compose.yaml
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
version: '3.7'
services:
hey-frontend:
container_name: hey-frontend
build:
context: ./hey-frontend
dockerfile: Dockerfile
volumes:
- './hey-frontend:/usr/src/app'
- '/usr/src/app/node_modules'
ports:
- '3000:3000'
environment:
- NODE_ENV=production
redis:
container_name: hey-redis
image: redis
command: ["redis-server", "--appendonly", "yes"]
volumes:
- hey-redis-data:/data
networks:
- backend-network
hey-backend:
container_name: hey-backend
build:
context: ./hey-backend
dockerfile: Dockerfile
volumes:
- 'hey-backend-log:/usr/src/app/log'
networks:
- backend-network
ports:
- '8080:8080'
- '8090:8090'
environment:
- env=production
- vertx.disableDnsResolver=true
networks:
backend-network:
driver: bridge
volumes:
hey-redis-data:
hey-backend-log: