Add docker-compose

This commit is contained in:
coolneng 2020-03-04 16:21:57 +01:00
parent 08ea9d98b8
commit 7409e3f0ef
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 14 additions and 0 deletions

14
docker-compose.yml Normal file
View File

@ -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"