Created
March 13, 2019 04:21
-
-
Save toanalien/846f281364e55a90d9666108254e8f3f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.1' | |
services: | |
db: | |
image: postgres:10 | |
restart: always | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./data:/var/lib/postgresql/data | |
environment: | |
- POSTGRES_PASSWORD:123456 | |
mysql: | |
image: mariadb:10 | |
restart: always | |
ports: | |
- 3306:3306 | |
volumes: | |
- ./mysql:/var/lib/mysql | |
# - ./initdb.d:/docker-entrypoint-initdb.d | |
environment: | |
MYSQL_DATABASE: exampledb | |
MYSQL_USER: exampleuser | |
MYSQL_PASSWORD: examplepass | |
MYSQL_ROOT_PASSWORD: examplepass | |
mongodb: | |
image: 'bitnami/mongodb:3.6' | |
labels: | |
kompose.service.type: nodeport | |
ports: | |
- "27017:27017" | |
adminer: | |
image: adminer | |
restart: always | |
ports: | |
- 7777:8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment