-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (39 loc) · 897 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (39 loc) · 897 Bytes
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
version: "3.9"
services:
db:
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: passwordPG
POSTGRES_USER: postgres
volumes:
- postgres:/var/lib/postgresql/data
ports:
- "5432:5432"
pgAdmin:
image: dpage/pgadmin4
restart: always
environment:
PGADMIN_DEFAULT_EMAIL: "mikkel1260@gmail.com"
PGADMIN_DEFAULT_PASSWORD: "passwordPG"
ports:
- "5430:80"
backend:
image: backend:0.2
build: ./backend
depends_on:
- db
ports:
- 3000:3000
environment:
DATABASE_URL: postgres://postgres:passwordPG@db:5432/postgres
AUTHORITY: https://dev-o5vpiij8.eu.auth0.com/
AUDIENCE: prod-plan-api
JWKS_URI: https://dev-o5vpiij8.eu.auth0.com/.well-known/jwks.json
frontend:
image: frontend:0.1
build: ./frontend
ports:
- 5173:80
volumes:
postgres: