2023-04-26 15:39:17 +03:00
|
|
|
version: '3.6'
|
2020-01-12 19:28:20 +03:00
|
|
|
|
|
|
|
services:
|
|
|
|
mariadb:
|
|
|
|
container_name: mariadb
|
2022-05-24 01:45:53 +03:00
|
|
|
image: mariadb:latest
|
2020-01-12 19:28:20 +03:00
|
|
|
env_file:
|
2020-09-28 15:14:58 +03:00
|
|
|
- ".env"
|
2020-01-12 19:28:20 +03:00
|
|
|
networks:
|
|
|
|
- intranet
|
|
|
|
ports:
|
|
|
|
- "3306:3306"
|
|
|
|
volumes:
|
2022-05-24 01:45:53 +03:00
|
|
|
- ./restore:/docker-entrypoint-initdb.d:ro
|
2020-09-28 15:14:58 +03:00
|
|
|
- db_data:/var/lib/mysql
|
2023-04-26 15:39:17 +03:00
|
|
|
|
2020-01-12 19:28:20 +03:00
|
|
|
phpmyadmin:
|
|
|
|
container_name: phpmyadmin
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
environment:
|
|
|
|
- PMA_HOST=mariadb
|
2022-05-24 01:45:53 +03:00
|
|
|
image: phpmyadmin/phpmyadmin:latest
|
2020-01-12 19:28:20 +03:00
|
|
|
networks:
|
|
|
|
- intranet
|
|
|
|
ports:
|
|
|
|
- "8080:80"
|
|
|
|
|
|
|
|
networks:
|
|
|
|
intranet:
|
|
|
|
driver: bridge
|
|
|
|
|
|
|
|
volumes:
|
2022-05-24 01:45:53 +03:00
|
|
|
db_data:
|