forked from parse-community/parse-server-example
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (44 loc) · 2.48 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (44 loc) · 2.48 KB
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
version: "2.1"
services:
mongo:
# container_name: mongo
image: healthcheck/mongo:latest
ports: ["27017:27017"]
networks: [backing-services]
volumes: ["mongo-data:/data/db"]
environment:
# JAVA_OPTS: ""
# MONGO_PORT_27017_TCP_ADDR: "localhost"
MONGO_PORT_27017_TCP_PORT: 27017
# https://hub.docker.com/r/library/mongo-express/
mongo-express:
depends_on: [mongo]
image: mongo-express:0.42
ports: ["8081:8081"]
networks: [backing-services]
environment:
ME_CONFIG_MONGODB_ENABLE_ADMIN: "true"
ME_CONFIG_OPTIONS_EDITORTHEME: "ambiance"
ME_CONFIG_MONGODB_PORT: 27017 # MongoDB port
ME_CONFIG_MONGODB_SERVER: "mongo" # MongoDB container name. Use comma delimited list of host names for replica sets.
# ME_CONFIG_BASICAUTH_USERNAME: # mongo-express web username
# ME_CONFIG_BASICAUTH_PASSWORD: # mongo-express web password
# ME_CONFIG_MONGODB_ENABLE_ADMIN: true # Enable admin access to all databases. Send strings: `"true"` or `"false"`
# ME_CONFIG_MONGODB_ADMINUSERNAME: # MongoDB admin username
# ME_CONFIG_MONGODB_ADMINPASSWORD: # MongoDB admin password
# ME_CONFIG_OPTIONS_EDITORTHEME: default # mongo-express editor color theme, [more here](http://codemirror.net/demo/theme.html)
# ME_CONFIG_REQUEST_SIZE:100kb # Maximum payload size. CRUD operations above this size will fail in [body-parser](https://www.npmjs.com/package/body-parser).
# ME_CONFIG_SITE_BASEURL: / # Set the baseUrl to ease mounting at a subdirectory. Remember to include a leading and trailing slash.
# ME_CONFIG_SITE_COOKIESECRET: cookiesecret # String used by [cookie-parser middleware](https://www.npmjs.com/package/cookie-parser) to sign cookies.
# ME_CONFIG_SITE_SESSIONSECRET: sessionsecret # String used to sign the session ID cookie by [express-session middleware](https://www.npmjs.com/package/express-session).
# ME_CONFIG_SITE_SSL_ENABLED: false # Enable SSL.
# ME_CONFIG_SITE_SSL_CRT_PATH: # SSL certificate file.
# ME_CONFIG_SITE_SSL_KEY_PATH: # SSL key file.
# ME_CONFIG_MONGODB_AUTH_DATABASE: db # Database name
# ME_CONFIG_MONGODB_AUTH_USERNAME: admin # Database username
# ME_CONFIG_MONGODB_AUTH_PASSWORD: pass # Database password
volumes:
mongo-data: {}
networks:
backing-services:
driver: bridge