-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
38 lines (34 loc) · 813 Bytes
/
docker-compose.yml
File metadata and controls
38 lines (34 loc) · 813 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
services:
mongodb:
image: mongo
expose:
- 27017
rsscloud:
build: .
command: node --use_strict app.js
environment:
DOMAIN: rsscloud
PORT: 5337
MONGODB_URI: mongodb://mongodb:27017/rsscloud
NODE_TLS_REJECT_UNAUTHORIZED: 0
expose:
- 5337
depends_on:
- mongodb
rsscloud-tests:
build: .
command: dockerize -wait tcp://mongodb:27017 -wait http://rsscloud:5337 -timeout 10s bash -c "pnpm test"
environment:
APP_URL: http://rsscloud:5337
MONGODB_URI: mongodb://mongodb:27017/rsscloud
MOCK_SERVER_DOMAIN: rsscloud-tests
MOCK_SERVER_PORT: 8002
SECURE_MOCK_SERVER_PORT: 8003
volumes:
- ./xunit:/app/xunit
expose:
- 8002
- 8003
depends_on:
- mongodb
- rsscloud