add dev.yml

This commit is contained in:
songmeo 2021-03-23 09:34:08 +00:00
parent 8ece59267e
commit 33f3e6171c

26
dev.yml Normal file
View File

@ -0,0 +1,26 @@
version: '3.7'
services:
mongoexpress:
image: mongo-express
network_mode: host
environment:
- ME_CONFIG_MONGODB_ENABLE_ADMIN=true
- ME_CONFIG_MONGODB_SERVER=127.0.0.1
- ME_CONFIG_MONGODB_PORT=27017
- ME_CONFIG_MONGODB_AUTH_DATABASE=admin
mongo:
network_mode: host
restart: unless-stopped
image: mongo:latest
environment:
- MONGODB_INITDB_ROOT_USERNAME=doorboy
- MONGODB_INITDB_ROOT_PASSWORD=password
- MONGODB_INITDB_DATABASE=kspace_accounting
doorboy_proxy:
hostname: doorboy.infra.k-space.ee
restart: unless-stopped
network_mode: host
env_file: .env
build:
context: .