forked from INRIM/inrim-forms-demo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
48 lines (44 loc) · 966 Bytes
/
docker-compose-dev.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
44
45
46
47
48
version: '3.8'
services:
testformmongo:
image: mongo:4.1
restart: always
volumes:
- ./mdb_data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME:
MONGO_INITDB_ROOT_PASSWORD:
stdin_open: true # -i
tty: true # -t
ports:
- "27021:27017"
test-forms:
stdin_open: true # -i
tty: true # -t
build:
context: .
network: host
image: python3.8.test-forms
volumes:
- ./app:/app
- .env-test:/app/.env
environment:
- WEB_CONCURRENCY=3
- PORT=9525
ports:
- "9525:9525"
restart: 'always'
links:
- testformmongo
test-forms-mongo-express:
image: mongo-express
environment:
- ME_CONFIG_MONGODB_SERVER=testformmongo
- ME_CONFIG_MONGODB_PORT=27017
- VCAP_APP_PORT=30001
- ME_CONFIG_OPTIONS_EDITORTHEME=night
ports:
- "30001:30001"
restart: always
links:
- testformmongo