Fix docker-compose.yml

master
Lauri Võsandi 6 months ago
parent 56e2273ba2
commit ec59a423bb
  1. 8
      docker-compose.yml

@ -9,8 +9,8 @@ x-common: &common
ME_CONFIG_MONGODB_ENABLE_ADMIN: 'true'
ME_CONFIG_MONGODB_SERVER: '127.0.0.1'
ME_CONFIG_MONGODB_AUTH_DATABASE: admin
MINIO_ACCESS_KEY: kspace-mugshot
MINIO_SECRET_KEY: 2mSI6HdbJ8
MINIO_ROOT_USER: kspace-mugshot
MINIO_ROOT_PASSWORD: 2mSI6HdbJ8
MINIO_DEFAULT_BUCKETS: kspace-mugshot:download
MINIO_URI: 'http://kspace-mugshot:2mSI6HdbJ8@127.0.0.1:9000/kspace-mugshot'
@ -28,6 +28,8 @@ services:
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
node-server:
restart: always
@ -35,7 +37,7 @@ services:
build:
context: ./backend
environment: *common
nginx-react:
restart: always
network_mode: host

Loading…
Cancel
Save