-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
42 lines (40 loc) · 973 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
version: '3'
networks:
kaiyuanshe:
services:
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=${APP_SECRET}
volumes:
- ./data:/var/lib/postgresql/data/
ports:
- 5432:5432
networks:
- kaiyuanshe
restart: always
kys-service:
depends_on:
- postgres
image: kaiyuanshe/kys-service
environment:
- DATABASE_URL=postgres://postgres:${APP_SECRET}@postgres:5432/postgres
- NODE_ENV=production
- PORT=8080
ports:
- 8080:8080
networks:
- kaiyuanshe
restart: always
dashpress:
depends_on:
- postgres
- kys-service
image: luojiyin/dashpress:1.0
volumes:
- ./dashpress/app:/app
ports:
- 8081:3000
networks:
- kaiyuanshe
restart: always