octobercms added to ./docker-compose.yml

This commit is contained in:
ManjaroOne666 2019-02-25 14:35:01 +00:00
parent 2e37609680
commit 3570926247
2 changed files with 17 additions and 1 deletions

View File

@ -9,3 +9,19 @@ services:
- 0.0.0.0:3003:3003 - 0.0.0.0:3003:3003
command: command:
"npm run dev" "npm run dev"
octobercms:
image: aspendigital/octobercms:latest
restart: always
ports:
- 0.0.0.0:8101:80
environment:
- ENABLE_CRON=true
- APP_DEBUG=true
- INIT_PLUGINS=true
volumes:
- ./server/plugins:/var/www/html/plugins
- ./server/storage/app:/var/www/html/storage/app
- ./server/storage/logs:/var/www/html/storage/logs
- ./server/storage/database.sqlite:/var/www/html/storage/database.sqlite
- ./server/themes:/var/www/html/themes

View File

@ -7,7 +7,7 @@ services:
image: octobercms image: octobercms
restart: always restart: always
ports: ports:
- 127.0.0.1:8101:80 - 0.0.0.0:8101:80
environment: environment:
- ENABLE_CRON=true - ENABLE_CRON=true
- APP_DEBUG=true - APP_DEBUG=true