2021-03-17 07:58:03 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2022-02-21 20:10:57 +00:00
|
|
|
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
|
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
|
|
|
|
mongo:
|
|
|
|
network_mode: host
|
|
|
|
image: mongo:latest
|
|
|
|
volumes:
|
|
|
|
- ./mongo-init.sh:/docker-entrypoint-initdb.d/mongo-init.sh:ro
|
|
|
|
command: mongod --replSet rs0 --bind_ip 127.0.0.1
|
|
|
|
logging:
|
|
|
|
driver: none
|
|
|
|
|
|
|
|
doorboy_proxy:
|
|
|
|
network_mode: host
|
|
|
|
environment:
|
2023-08-01 19:21:57 +00:00
|
|
|
DOORBOY_SECRET_FLOOR: "0123456789"
|
|
|
|
DOORBOY_SECRET_WORKSHOP: "9999999999"
|
|
|
|
FLOOR_ACCESS_GROUP: "k-space:floor"
|
|
|
|
WORKSHOP_ACCESS_GROUP: "k-space:workshop"
|
2023-07-30 10:17:14 +00:00
|
|
|
CARD_URI: "https://inventory-app-72zn4.codemowers.ee/cards"
|
2022-02-21 20:10:57 +00:00
|
|
|
build:
|
|
|
|
context: .
|