Initial Commit

This commit is contained in:
2019-09-14 23:57:48 +00:00
commit 0d49729c63
11 changed files with 1089 additions and 0 deletions
+57
View File
@@ -0,0 +1,57 @@
version: '3.2'
services:
db:
build: ./db
restart: always
volumes:
- db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=
env_file:
- setup.env
web:
build: ./web
restart: always
ports:
- 8080:80
volumes:
- hidche:/var/www/html:ro
app:
build: ./app
restart: always
volumes:
- hidche:/var/www/html
env_file:
- setup.env
depends_on:
- db
- web
install:
build: ./install
restart: "no"
volumes:
- hidche:/var/www/html
environment:
- MYSQL_HOST=db
env_file:
- setup.env
depends_on:
- app
- db
- web
cron:
build: ./cron
restart: always
volumes:
- hidche:/var/www/html:ro
depends_on:
- app
volumes:
db:
hidche: