1 Star 1 Fork 0

zhongyicong / rdbc

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose.yaml 680 Bytes
一键复制 编辑 原始数据 按行查看 历史
Andy Grove 提交于 2019-12-16 17:01 . save
version: "3.3"
services:
mysql:
image: "mysql:5.7"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
- MYSQL_ROOT_PASSWORD=secret
ports:
- 3307:3306
postgres:
image: "postgres"
# Setup the username, password, and database name. You can changes these values.
environment:
- POSTGRES_USER=rdbc
- POSTGRES_PASSWORD=secret
ports:
- "5433:5432"
# Set a volume so that database is not lost after shutting down the container.
# I used the name postgres-data but you can changed it to something else.
volumes:
- ./postgres-data:/var/lib/postgresql/data
Rust
1
https://gitee.com/zhongyicong/rdbc.git
git@gitee.com:zhongyicong/rdbc.git
zhongyicong
rdbc
rdbc
master

搜索帮助