You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
873 B

version: "3.8"
services:
museo:
restart: always
container_name: museo-red
build: .
ports:
- 9999:9999
environment:
PORT: 9999
mongo:
container_name: mongo
image: mongo:4.2.10
restart: always
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGODB_USER}
MONGO_INITDB_ROOT_PASSWORD: ${MONGODB_PASSWORD}
volumes:
- ${DATA_HOME}:/data/db
mongo-express:
container_name: mongo-express
image: mongo-express
restart: always
ports:
- 8900:8081
environment:
ME_CONFIG_MONGODB_SERVER: "mongo"
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGODB_USER}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGODB_PASSWORD}
redis:
container_name: redis
image: redis:6.0.8
restart: always
command: >
--requirepass ${REDIS_PASSWORD}
volumes:
- ${DATA_HOME}:/data