Archived
1
0
Fork 0
This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
migra/docker-compose.yml

35 lines
719 B
YAML
Raw Normal View History

2021-03-26 02:10:41 +03:00
version: "3"
2021-02-12 01:25:55 +03:00
services:
postgres:
image: postgres
container_name: migra.postgres
environment:
POSTGRES_DB: "migra_tests"
POSTGRES_USER: "postgres"
POSTGRES_PASSWORD: "postgres"
volumes:
- postgres_data:/var/lib/postgres/data
ports:
- 6000:5432
2021-03-26 02:10:41 +03:00
mysql:
image: mysql
container_name: migra.mysql
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: "migra_tests"
MYSQL_USER: "mysql"
MYSQL_PASSWORD: "mysql"
volumes:
- mysql_data:/var/lib/mysql
ports:
- 6001:3306
2021-02-12 01:25:55 +03:00
volumes:
postgres_data:
driver: local
2021-03-26 02:10:41 +03:00
mysql_data:
driver: local