Add Docker compose for build
This commit is contained in:
22
docker-compose.yaml
Normal file
22
docker-compose.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Nutzer:Passwort für DB = root:example
|
||||
services:
|
||||
|
||||
db:
|
||||
image: mariadb:latest
|
||||
restart: no
|
||||
ports:
|
||||
- 3306:3306
|
||||
environment:
|
||||
MARIADB_ROOT_PASSWORD: example
|
||||
volumes:
|
||||
- type: bind
|
||||
source: ./database
|
||||
target: /var/lib/mysql
|
||||
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
restart: no
|
||||
ports:
|
||||
- 8081:80
|
||||
environment:
|
||||
- PMA_ARBITRARY=1
|
||||
Reference in New Issue
Block a user