forked from amacneil/dbmate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 816 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 816 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: "2.3"
services:
dev:
build:
context: .
target: dev
volumes:
- .:/src
depends_on:
- mysql
- postgres
- clickhouse
environment:
CLICKHOUSE_TEST_URL: clickhouse://clickhouse:9000/dbmate_test
MYSQL_TEST_URL: mysql://root:root@mysql/dbmate_test
POSTGRES_TEST_URL: postgres://postgres:postgres@postgres/dbmate_test?sslmode=disable
SQLITE_TEST_URL: sqlite3:/tmp/dbmate_test.sqlite3
dbmate:
build:
context: .
target: release
image: dbmate_release
mysql:
image: mysql/mysql-server:8.0
environment:
MYSQL_ROOT_HOST: "%"
MYSQL_ROOT_PASSWORD: root
postgres:
image: postgres:10
environment:
POSTGRES_PASSWORD: postgres
clickhouse:
image: clickhouse/clickhouse-server:22.8