-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
49 lines (43 loc) · 1.01 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
version: '3.8'
services:
db:
image: postgres
ports:
- "5432:5432"
volumes:
- ./lvlgg_backend/data/db:/var/lib/postgresql/data
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
backend:
image: verzaccii/lvlupgg-backend
build:
context: ./lvlgg_backend
dockerfile: Dockerfile.backend
ports:
- "8000:8000"
volumes:
- ./lvlgg_backend:/LvlUp.gg/lvlgg_backend
environment:
- POSTGRES_NAME=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
depends_on:
- db
pgadmin:
image: dpage/pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: niexin01@hotmail.com
PGADMIN_DEFAULT_PASSWORD: postgres
ports:
- "5050:80"
frontend:
image: verzaccii/lvlupgg-frontend
build:
context: ./lvlgg_frontend
dockerfile: Dockerfile.frontend
ports:
- "3000:3000"
volumes:
- ./lvlgg_frontend:/LvlUp.gg/lvlgg_frontend