This commit is contained in:
nutzer26
2022-12-13 15:14:20 +01:00
parent 429971c44a
commit a037410306
6 changed files with 79 additions and 0 deletions

13
mysql/docker-compose.yml Normal file
View File

@@ -0,0 +1,13 @@
version: "3.7"
services:
db:
image: mysql:8.0.19
restart: always
environment:
- MYSQL_DATABASE=example
- MYSQL_ROOT_PASSWORD=üassword
web:
build: web
restart: always
ports:
- 8081:80

3
mysql/web/Dockerfile Normal file
View File

@@ -0,0 +1,3 @@
FROM debian:10
RUN apt-get update && apt-get install -y apache2
CMD [ "/usr/sbin/apachectl", "-D", "FOREGROUND", "-k", "start"]