check-in first files
This commit is contained in:
35
docker-compose.yaml
Normal file
35
docker-compose.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
version: '3.4'
|
||||
|
||||
services:
|
||||
|
||||
watchdog:
|
||||
image: watchdog
|
||||
restart: always
|
||||
build:
|
||||
context: .
|
||||
dockerfile: ./Dockerfile
|
||||
|
||||
mongo:
|
||||
image: mongo
|
||||
restart: always
|
||||
environment:
|
||||
MONGO_INITDB_ROOT_USERNAME: nils
|
||||
MONGO_INITDB_ROOT_PASSWORD: mymongopw
|
||||
ports:
|
||||
- '27017-27019:27017-27019'
|
||||
volumes:
|
||||
- mongo-db:/data/db
|
||||
- mongo-db:/data/configdb
|
||||
|
||||
mongo-express:
|
||||
image: mongo-express
|
||||
restart: always
|
||||
ports:
|
||||
- 8081:8081
|
||||
environment:
|
||||
ME_CONFIG_MONGODB_ADMINUSERNAME: nils
|
||||
ME_CONFIG_MONGODB_ADMINPASSWORD: mymongopw
|
||||
ME_CONFIG_MONGODB_URL: mongodb://nils:mymongopw@mongo:27017/
|
||||
|
||||
volumes:
|
||||
mongo-db:
|
||||
Reference in New Issue
Block a user