Skip to content

Commit

Permalink
[build] add compose.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
fyiernzy committed Oct 22, 2024
1 parent 5ac5b71 commit 226f15c
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
Empty file removed umwix1002/Dockerfile
Empty file.
25 changes: 25 additions & 0 deletions umwix1002/compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
services:
mysql:
image: mysql:latest
environment:
MYSQL_ROOT_PASSWORD: root
MYSQL_DATABASE: umwix1002
restart: always
ports:
- 3307:3306
volumes:
- my-db-volume:/var/lib/mysql

phpmyadmin:
image: phpmyadmin/phpmyadmin:latest
environment:
PMA_HOST: mysql
PMA_PORT: 3306
MYSQL_ROOT_PASSWORD: root
ports:
- 8080:80
depends_on:
- mysql

volumes:
my-db-volume:

0 comments on commit 226f15c

Please sign in to comment.