File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- version : " 3"
21services :
3- app :
4- build : .
5- command : node build/main.js
6- environment :
7- - BOT_TOKEN=${BOT_TOKEN}
2+ postgres :
3+ image : postgres:14.2-alpine
4+ environment :
5+ - POSTGRES_PASSWORD=postgres
6+ - PGDATA=/var/lib/postgresql/data/pgdata
7+ volumes :
8+ - " bots-data:/var/lib/postgresql/data/pgdata"
89
9-
10- db :
11- image : postgres:14.5-alpine
12- restart : always
13- environment :
14- - POSTGRES_USER=postgres
15- - POSTGRES_PASSWORD=postgres
16- ports :
17- - ' 5432:5432'
18- volumes :
19- - botsofcode:/var/lib/postgresql/data
10+ botsofcode :
11+ build : .
12+ env_file :
13+ - .env
14+ restart : always
15+ links :
16+ - postgres
2017volumes :
21- botsofcode : {}
18+ bots-data : {}
Original file line number Diff line number Diff line change 1+ npm exec prisma generate
2+ npm run build
Original file line number Diff line number Diff line change 1+ npm exec prisma migrate dev
2+ npm start
You can’t perform that action at this time.
0 commit comments