Add docker-compose
This commit is contained in:
parent
08ea9d98b8
commit
7409e3f0ef
|
@ -0,0 +1,14 @@
|
||||||
|
version: 3
|
||||||
|
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
image: trafex/alpine-nginx-php7
|
||||||
|
ports:
|
||||||
|
- "80:80"
|
||||||
|
volumes:
|
||||||
|
- ./src:/var/www/html
|
||||||
|
- ./nginx/site.conf:/etc/nginx/conf.d/server.conf
|
||||||
|
mariadb:
|
||||||
|
image: mariadb/server:10.3
|
||||||
|
ports:
|
||||||
|
- "3306:3306"
|
Loading…
Reference in New Issue