-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.72 KB
/
Copy pathdocker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.72 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
services:
dev-container-repatch:
build:
context: .
dockerfile: Dockerfile
container_name: dev-container-repatch
ports:
- "127.0.0.1:3000:3000" # HTTP access: https://localhost:3000/
- "127.0.0.1:3001:3001" # HTTPS access: https://localhost:3001/
- "127.0.0.1:3002:6901" # HTTPS access (direct KasmVNC, no audio): https://localhost:3002/
security_opt:
- seccomp=unconfined
volumes:
- dev_container_data_repatch:/config
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Zurich
- TITLE=Dev-repatch
- JDBC_URL=jdbc:mysql://mysql:3306/refactoring_aware_integration_repatch?useSSL=false&serverTimezone=UTC
- JDBC_URL_WITHOUT_DATABASE=jdbc:mysql://mysql:3306/?useSSL=false&serverTimezone=UTC
- JDBC_USER=root
- JDBC_PASSWORD=root
- DB_DRIVER=com.mysql.cj.jdbc.Driver
- DB_TYPE=mysql
- DB_HOST=mysql
- DB_PORT=3306
- DB_NAME=refactoring_aware_integration_repatch
shm_size: "1gb"
depends_on:
- mysql
mysql:
image: mysql:8.0
container_name: mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: root
command: --default-authentication-plugin=mysql_native_password
volumes:
- mysql_data:/var/lib/mysql
ports:
- "127.0.0.1:3308:3306" # Acess MySQL on port 3308. e.g. MySQL Workbench: mysql://testuser:testuser@localhost:3308/refactoring_aware_integration_repatch
phpmyadmin:
image: phpmyadmin/phpmyadmin
container_name: phpmyadmin
restart: unless-stopped
ports:
- "127.0.0.1:8080:80"
environment:
PMA_HOST: mysql
PMA_PORT: 3306
depends_on:
- mysql
volumes:
dev_container_data_repatch:
mysql_data: