-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
49 lines (48 loc) · 1.01 KB
/
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
49
version: "3"
services:
db:
container_name: gocomdb
image: postgres:13
environment:
POSTGRES_USER: gocom
POSTGRES_PASSWORD: gocom123
POSTGRES_DB: gocomdb
ports:
- 5432:5432
networks:
- default
expose:
- "5432"
volumes:
- ./schemas/local-data/db/gocomdb:/var/lib/postgresql/data
auth:
build:
context: auth
dockerfile: docker/Dockerfile
ports:
- 8084:8080
environment:
DATABASE_URL: postgresql://gocom:gocom123@gocomdb:5432/gocomdb?sslmode=disable
SECRET_KEY: supersecretkey123
depends_on:
- db
ecom:
build:
context: ecom
dockerfile: docker/Dockerfile
ports:
- 8085:8080
environment:
DATABASE_URL: postgresql://gocom:gocom123@gocomdb:5432/gocomdb?sslmode=disable
depends_on:
- db
frontend:
build:
context: ./frontend
dockerfile: docker/Dockerfile
ports:
- 3000:3000
volumes:
- ./frontend:/app
depends_on:
- db