-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
45 lines (40 loc) · 886 Bytes
/
docker-compose.yml
File metadata and controls
45 lines (40 loc) · 886 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"
# DEVELOPMENT ONLY
# this is not a secure configuration
volumes:
mongostorage:
driver: local
services:
keyfieldhome:
build:
context: .
dockerfile: Dockerfile
container_name: keyfield_dev_homeserver
restart: "no"
environment:
APP_ENV: "dev"
APP_DEBUG: "True"
depends_on:
- mongo
ports:
- "127.0.0.1:8008:8008"
mongo:
image: mongo
restart: unless-stopped
environment:
MONGODB_DATA_DIR: "/data/db"
volumes:
- mongostorage:/data/db
ports:
- "127.0.0.1:27017:27017"
mongo-express:
image: mongo-express
restart: unless-stopped
depends_on:
- mongo
ports:
- "127.0.0.1:8081:8081"
environment:
ME_CONFIG_SITE_BASEURL: "/admin/"
# ME_CONFIG_BASICAUTH_USERNAME: admin
ME_CONFIG_BASICAUTH_PASSWORD: "keyfield_local_dev"