-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (32 loc) · 899 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (32 loc) · 899 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
services:
database:
image: postgres:alpine
container_name: database
environment:
POSTGRES_DB: carna-database
POSTGRES_USER: carna
POSTGRES_PASSWORD: IjSJmKN1fc#DZBL*NHbVoxIh65JvsFFDO@so
backend:
container_name: backend
build:
context: backend
dockerfile: Dockerfile
depends_on:
- database
environment:
DATABASE_HOST: database
DATABASE_PORT: 5432
DATABASE_USERNAME: carna
DATABASE_PASSWORD: IjSJmKN1fc#DZBL*NHbVoxIh65JvsFFDO@so
DATABASE_NAME: "carna-database"
JWT_SECRET: 4125442A472D4B6150645367556B58703273357638792F423F4528482B4D6251
JWT_REFRESH_SECRET: 576E5A7134743777217A25432A462D4A614E645267556B58703273357538782F
frontend:
container_name: frontend
build:
context: frontend
dockerfile: Dockerfile
ports:
- "3000:80"
depends_on:
- backend