Skip to content
Snippets Groups Projects
Commit db1b91e2 authored by Hidayatullah Wildan Ghaly Buchary's avatar Hidayatullah Wildan Ghaly Buchary
Browse files

feat: update docker compose

parent 6f467ebc
Branches
Tags
No related merge requests found
......@@ -5,29 +5,18 @@ services:
volumes:
- "./:/var/www/html"
ports:
- 8080:80
- 8000:80
- 443:443
env_file:
- .env
# mhslvl-app-db:
# image: mysql:latest
# ports:
# - ${DB_PORT}:3306
# environment:
# - MYSQL_DATABASE=${DB_NAME}
# - MYSQL_USER=${DB_USER}
# - MYSQL_PASSWORD=${DB_PASSWORD}
# - MYSQL_ALLOW_EMPTY_PASSWORD=1
# volumes:
# - "./db:/docker-entrypoint-initdb.d"
# phpmyadmin:
# image: phpmyadmin/phpmyadmin
# env_file:
# - .env
# ports:
# - ${PHPMYADMIN_PORT}:80
# environment:
# - PMA_HOST=${DB_HOST}
# - PMA_PORT=${DB_PORT}
\ No newline at end of file
mhslvl-app-db:
image: mysql:latest
ports:
- 3307:3306
env_file:
- .env
environment:
- MYSQL_ALLOW_EMPTY_PASSWORD=1
volumes:
- "./db:/docker-entrypoint-initdb.d"
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment