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.
38 lines
720 B
38 lines
720 B
version: "3"
|
|
services:
|
|
|
|
redis:
|
|
image: redis
|
|
container_name: redis3
|
|
ports:
|
|
- "63121:6379"
|
|
volumes:
|
|
- ./data/redis/database:/data/db
|
|
command: redis-service --requirepass rfvtyujnbhg56
|
|
restart: always
|
|
networks:
|
|
- default
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
mongo:
|
|
image: mongo
|
|
container_name: mongodb3
|
|
ports:
|
|
- "27085:27017"
|
|
volumes:
|
|
- ./data/mongodb/database:/data/db
|
|
environment:
|
|
- MONGO_INITDB_ROOT_USERNAME=pqRRVamndJ
|
|
- MONGO_INITDB_ROOT_PASSWORD=35LlW3pXF76&WD!OOlnI
|
|
restart: always
|
|
networks:
|
|
- default
|
|
stdin_open: true
|
|
tty: true
|
|
|
|
networks:
|
|
default:
|
|
driver: bridge
|
|
ipam:
|
|
driver: default
|