rebuild docker-compose setup - we don't need mysql anymore

This commit is contained in:
bsod 2020-10-28 21:22:19 +01:00
parent 875700ca18
commit 72c5cfdd12

View file

@ -1,19 +1,8 @@
version: "3.3" version: "3.3"
services: services:
web: web:
build: ./web image: php:7.4-apache
ports: ports:
- 10.0.0.7:8084:80 - 80:80
volumes: volumes:
- ./brc_laravel/brc:/var/www - .:/var/www/html
- ./000-default.conf:/etc/apache2/sites-enabled/000-default.conf
db:
image: mariadb:latest
volumes:
- ./db:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: foo
MYSQL_DATABASE: ieva
MYSQL_USER: ieva
MYSQL_PASSWORD: foo