forked from tudorconstantin/knests
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
46 lines (39 loc) · 949 Bytes
/
Copy pathdocker-compose.test.yml
File metadata and controls
46 lines (39 loc) · 949 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
39
40
41
42
43
44
45
version: "3.5"
networks:
knests-test:
external: false
services:
client:
# command: npm run test
command: sleep 60000
build:
context: ./client
target: builder
networks:
- "knests-test"
server:
command: "npm run test:e2e"
build:
context: ./server
target: app
restart: "no"
env_file:
- ./server/docker/test.env
networks:
- "knests-test"
ports:
- "8001:8081"
environment:
DATABASE_URL: postgres://admin:5UPP3rSecr3tPAssword@postgres:5432/knests-test
JWT_SECRET: "sada*&^#(*&^^^#(*_|_&#_|_KJH#JKHG#_|_*(&#_|_*&#_|_(*&#^(*&#^_|_(*&#^_|_LKJ;o98(*SLKDJHLSKJH<M>n;loi098df904987"
postgres:
ports:
- "54320:5432"
environment:
POSTGRES_DB: knests-test
POSTGRES_USER: admin
POSTGRES_PASSWORD: 5UPP3rSecr3tPAssword
networks:
- "knests-test"
volumes:
- /var/lib/postgresql/data