addet dockerfile

This commit is contained in:
pika 2024-06-20 21:45:07 +02:00
parent 7dc90e7999
commit fa0a7f79a4
21 changed files with 1750 additions and 3 deletions

24
docker-compose.yml Normal file
View file

@ -0,0 +1,24 @@
services:
web:
build: .
ports:
- "8088:80"
volumes:
- ./src/:/var/www/html
restart: unless-stopped
# depends_on:
# - db
# db:
# image: mysql:5.7
# restart: unless-stopped
# environment:
# MYSQL_ROOT_PASSWORD: rootpassword
# MYSQL_DATABASE: mydatabase
# MYSQL_USER: myuser
# MYSQL_PASSWORD: mypassword
# ports:
# - "3306:3306"
# volumes:
# - ./db_data:/var/lib/mysql