2023-05-04 10:05:02 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
web:
|
2023-05-04 13:26:19 +00:00
|
|
|
image: phpmyadmin:latest
|
2023-05-04 10:05:02 +00:00
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
volumes:
|
2023-05-04 13:26:19 +00:00
|
|
|
- web_data:/etc/phpmyadmin
|
|
|
|
environment:
|
|
|
|
- PMA_ARBITRARY=1
|
|
|
|
|
2023-05-04 10:05:02 +00:00
|
|
|
database:
|
|
|
|
image: mysql:latest
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
- db_data:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: ass1root
|
|
|
|
MYSQL_DATABASE: mydb
|
|
|
|
MYSQL_USER: iban
|
|
|
|
MYSQL_PASSWORD: ass1
|
|
|
|
volumes:
|
|
|
|
web_data:
|
|
|
|
db_data:
|