oc-workflow/docker-compose.base.yml

35 lines
593 B
YAML
Raw Permalink Normal View History

2024-07-24 10:25:08 +02:00
version: '3.4'
services:
mongo:
image: 'mongo:latest'
networks:
- catalog
ports:
- 27017:27017
container_name: mongo
volumes:
- oc-catalog-data:/data/db
- oc-catalog-data:/data/configdb
mongo-express:
image: "mongo-express:latest"
restart: always
depends_on:
- mongo
networks:
- catalog
ports:
- 8081:8081
environment:
- ME_CONFIG_BASICAUTH_USERNAME=test
- ME_CONFIG_BASICAUTH_PASSWORD=test
volumes:
oc-catalog-data:
networks:
catalog:
2024-08-21 08:40:46 +02:00
external: true
2024-07-24 10:25:08 +02:00
# name: catalog