forked from appblocks-hub/open_tms
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
43 lines (39 loc) · 857 Bytes
/
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
version: '3.8'
services:
postgres:
image: postgres:latest
container_name: postgres_container
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
ports:
- '5432:5432'
redis:
image: redis:latest
container_name: redis_container
ports:
- '6379:6379'
# app:
# build: .
# working_dir: $home/app/preview
# command:
# - sh
# - -c
# - |
# bb start
# cd ./open_tms_shared/open_tms_data
# npm run db:push
# npm run prisma:seed:dev
# npm run prisma:generate:dev
# tail -f /dev/null
# ports:
# - 3000:3000
# - 3001:3001
# - 4000:4000
# - 5000:5000
# volumes:
# - ./:$home/app/preview
# depends_on:
# - postgres
# - redis