From 3570926247766bd4a1c045a501f539189d6c8d4a Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 25 Feb 2019 14:35:01 +0000 Subject: [PATCH] octobercms added to ./docker-compose.yml --- docker-compose.yml | 16 ++++++++++++++++ server/docker-compose.yml | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 55730d7..8d05ccc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,3 +9,19 @@ services: - 0.0.0.0:3003:3003 command: "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 diff --git a/server/docker-compose.yml b/server/docker-compose.yml index 87af341..3a47b77 100644 --- a/server/docker-compose.yml +++ b/server/docker-compose.yml @@ -7,7 +7,7 @@ services: image: octobercms restart: always ports: - - 127.0.0.1:8101:80 + - 0.0.0.0:8101:80 environment: - ENABLE_CRON=true - APP_DEBUG=true