forked from fukamachi/cl-dbi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
43 lines (40 loc) · 900 Bytes
/
docker-compose.yml
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
38
39
40
41
42
43
version: '3.7'
services:
tests:
container_name: cl-dbi-tests
build:
dockerfile: docker/Dockerfile
context: .
target: base
args:
- LISP=${LISP}
restart: "no"
volumes:
- ./:/app/
depends_on:
- postgres
- mysql
environment:
# SKIP_MYSQL: 1
# SKIP_POSTGRES: 1
# SKIP_SQLITE3: 1
POSTGRES_HOST: postgres
POSTGRES_USER: cl-dbi
POSTGRES_PASS: cl-dbi
MYSQL_HOST: mysql
MYSQL_USER: root
MYSQL_PASS: cl-dbi
postgres:
container_name: cl-dbi-postgres
image: "postgres:10"
restart: always
environment:
POSTGRES_USER: cl-dbi
POSTGRES_PASSWORD: cl-dbi
mysql:
container_name: cl-dbi-mysql
image: "mysql:8"
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: cl-dbi