b1gMail/dev-docker/docker-compose.yml
Sebijk e3436e999a create a docker template for development
thanks to mbuchalik for this idea
2023-10-14 14:24:25 +02:00

32 lines
500 B
YAML

version: '3.9'
services:
php:
build: .
networks:
- default
ports:
- '5000:80'
volumes:
- ../src:/var/www/html
depends_on:
- db
db:
image: mariadb
networks:
- default
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: b1gmail
MYSQL_USER: user
MYSQL_PASSWORD: password
ports:
- '3306:3306'
phpmyadmin:
image: phpmyadmin/phpmyadmin:5
ports:
- '3100:80'
depends_on:
- db