-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
57 lines (51 loc) · 1.78 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '3.5'
services:
# -------------------------------------------------------
# -------------------------------------------------------
# Master docker image for performing local development work
biowonks-dev:
tty: true
stdin_open: true
image: biowonks/dev
container_name: biowonks-dev
build:
context: .
dockerfile: Dockerfile.dev
depends_on:
- pg-db
ports:
- 15000:15000
- 14000:14000 # Default API port
volumes:
- .:/app
- /app/mist-lib/node_modules
- /app/mist-api/node_modules
- /app/mist-api/src/docs/node_modules
- /app/mist-api/config/local
- /app/mist-pipeline/node_modules
- /app/mist-pipeline/vendor
working_dir: /app
environment:
- BIOWONKS_VOLUMES=/app/mist-lib/node_modules /app/mist-api/node_modules /app/mist-api/src/docs/node_modules /app/mist-api/config/local /app/mist-pipeline/node_modules /app/mist-pipeline/vendor
- DATABASE_URL=postgres://mist-admin:mist-admin-password@pg-db:5432/mist
# -------------------------------------------------------
pg-db:
image: biowonks/mist-pg-db:fbbac35
volumes:
- db-13.3:/var/lib/postgresql/data
environment:
# The POSTGRES_* variables are passed to the postgresql image
- POSTGRES_USER
- POSTGRES_PASSWORD=postgres-passwod
# These are used by postgres-setup.sh (which uses defaults if not specified)
- CERT_SUBJ
- DB_NAME=mist
- DB_ADMIN_USER=mist-admin
- DB_ADMIN_PASSWORD=mist-admin-password
- DB_API_USER=mist-api
- DB_API_PASSWORD=mist-api-password
# To customize the postgresql configuration, pass any settings via the PG_CONF variable
- PG_CONF
# -------------------------------------------------------
volumes:
db-13.3: