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
1 changed files with 3 additions and 14 deletions

View File

@ -1,19 +1,8 @@
version: "3.3"
services:
web:
build: ./web
image: php:7.4-apache
ports:
- 10.0.0.7:8084:80
- 80:80
volumes:
- ./brc_laravel/brc:/var/www
- ./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
- .:/var/www/html