Added docker, nginx and systemd configs

This commit is contained in:
ftc
2022-12-11 18:53:19 +03:00
commit 8d4f7690fc
5 changed files with 90 additions and 0 deletions
+21
View File
@@ -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