Files
directus/packages/schema/docker-compose.yml
2020-11-09 11:21:43 -05:00

23 lines
557 B
YAML

version: '3.1'
services:
mysql:
image: mysql:5.7
command: --default-authentication-plugin=mysql_native_password
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: test_db
ports:
- 5100:3306
volumes:
- ./test/seed/mysql.sql:/docker-entrypoint-initdb.d/seed.sql
postgres:
image: postgres:12.3
restart: always
environment:
POSTGRES_PASSWORD: secret
POSTGRES_DB: test_db
ports:
- 5101:5432
volumes:
- ./test/seed/postgres.sql:/docker-entrypoint-initdb.d/seed.sql