-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (67 loc) · 1.64 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
version: '3.9'
services:
pedagang:
build: ./pedagang
ports:
- "8482:8482"
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/google-cloud-config.json
- HTTP_PORT=8482
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=localhost
- DB_USERNAME=postgres
- DB_PASSWORD=password
- WEB_URL=https://localhot:3000
- TZ=Asia/Jakarta
- AUTH_URL=https://auth.jajan-yuk.pegelinux.my.id
volumes:
- ./config/google-cloud-config.json:/app/google-cloud-config.json
- ./images:/app/images
depends_on:
- redis
user:
build: ./user
ports:
- "8481:8481"
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/google-cloud-config.json
- HTTP_PORT=8481
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=localhost
- DB_USERNAME=postgres
- DB_PASSWORD=password
- WEB_URL=https://localhot:3000
- TZ=Asia/Jakarta
volumes:
- ./config/google-cloud-config.json:/app/google-cloud-config.json
depends_on:
- redis
email:
build: ./email
environment:
- GOOGLE_APPLICATION_CREDENTIALS=/app/google-cloud-config.json
- SMTP_PASS=password
volumes:
- ./config/google-cloud-config.json:/app/google-cloud-config.json
auth:
build: ./auth
ports:
- "8480:8480"
environment:
- HTTP_PORT=8480
- REDIS_HOST=redis
- REDIS_PORT=6379
- DB_HOST=localhost
- DB_USERNAME=postgres
- DB_PASSWORD=password
depends_on:
- redis
redis:
image: redis:alpine
volumes:
- redis-jajan-yuk:/data
volumes:
redis-jajan-yuk:
driver: local