Added docker, nginx and systemd configs
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
version: '2'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
build: ./nginx
|
||||
ports:
|
||||
- '8888:80'
|
||||
volumes:
|
||||
- ./../app:/var/www
|
||||
app:
|
||||
build: web
|
||||
volumes:
|
||||
- ./../app:/var/www
|
||||
db:
|
||||
image: mariadb
|
||||
restart: always
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=rootpass
|
||||
volumes:
|
||||
- ./../data:/var/lib/mysql
|
||||
|
||||
Reference in New Issue
Block a user