-
Notifications
You must be signed in to change notification settings - Fork 6
/
compose.yaml
38 lines (38 loc) · 938 Bytes
/
compose.yaml
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
services:
database:
container_name: java-eval1-sio2-database
image: mariadb:latest
ports:
- "3306:3306"
restart: always
environment:
MYSQL_DATABASE: app_db
#MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
MYSQL_ROOT_PASSWORD: root
TZ: Europe/Paris
volumes:
- ./var/dbdata:/var/lib/mysql
- ./docs/app_db.sql:/docker-entrypoint-initdb.d/app_db.sql
phpmyadmin:
container_name: java-eval1-sio2-pma
image: phpmyadmin/phpmyadmin
ports:
- "8081:80"
environment:
PMA_HOST: database
PMA_PORT: 3306
PMA_ARBITRARY: 1
UPLOAD_LIMIT: 1G
MEMORY_LIMIT: 512M
MAX_EXECUTION_TIME: 0
restart: always
links:
- database
depends_on:
- database
mock-chrev-tzyon-api:
image: nours313/mock-chrev-tzyon-api:latest
container_name: java-eval1-sio2-mock-chrev-tzyon-api
ports:
- "8080:8080"
restart: always