Dienstag
This commit is contained in:
13
mysql/docker-compose.yml
Normal file
13
mysql/docker-compose.yml
Normal 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
3
mysql/web/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user