rebuild docker-compose setup - we don't need mysql anymore
This commit is contained in:
parent
875700ca18
commit
72c5cfdd12
1 changed files with 3 additions and 14 deletions
|
@ -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
|
|
Loading…
Reference in a new issue