forked from aplus-framework/database
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
31 lines (31 loc) · 778 Bytes
/
docker-compose.yml
File metadata and controls
31 lines (31 loc) · 778 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
version: "3"
services:
package:
image: registry.gitlab.com/aplus-framework/images/package:1
container_name: package-database
working_dir: /package
volumes:
- .:/package
depends_on:
- mariadb
- mysql
tty: true
mariadb:
image: mariadb
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: framework-tests
MYSQL_USER: root
MYSQL_PASSWORD: password
container_name: database-mariadb
mysql:
image: mysql
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: framework-tests
MYSQL_USER: root
MYSQL_PASSWORD: password
container_name: database-mysql