-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (36 loc) · 817 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (36 loc) · 817 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
version: "3"
services:
db:
container_name: rapid-dev-postgres
image: postgres:15.0-alpine3.16
restart: always
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- ./db:/var/lib/postgresql/data
- ./docker-setup/scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
ports:
- 5428:5432
nodets:
container_name: rapid-dev-nodets
build:
context: .
dockerfile: ./docker-setup/Dockerfile
environment:
- PORT=8081
- DB_HOST=db
- DB_PORT=5432
- DB_USERNAME=rocketship
- DB_PASSWORD=airbus737
- DB_NAME=quicknode
- JWT_SECRET=jwtsecret
volumes:
- .:/usr/src/app
ports:
- 8081:8081
depends_on:
- db
networks:
default:
name: rapid-dev-network