summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2018-02-21 18:44:26 +0100
committerSuren A. Chilingaryan <csa@suren.me>2018-02-21 18:44:26 +0100
commit350abf69de17b079c7589022bb0b2df01a51f84e (patch)
tree66bba94094c096b21c181d1a77c6a4ca4078482d /docker-compose.yml
parent3d19ce5671e45b8e06a91cb09065d81e22f9d6fd (diff)
downloadadei-350abf69de17b079c7589022bb0b2df01a51f84e.tar.gz
adei-350abf69de17b079c7589022bb0b2df01a51f84e.tar.bz2
adei-350abf69de17b079c7589022bb0b2df01a51f84e.tar.xz
adei-350abf69de17b079c7589022bb0b2df01a51f84e.zip
Use volume for apache configuration in order to run in read-only containers
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index 1f790ee..6c167db 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -9,6 +9,7 @@ services:
- tmp:/adei/tmp
- sys:/adei/sys
- cfg:/adei/cfg
+ - ovr:/adei/ovr
- mail:/var/spool/mail
- logs:/var/log/apache2
@@ -89,6 +90,20 @@ services:
- MYSQL_DATABASE=adei_tango
ports:
- 82:80
+
+ debug:
+ image: chsa/adei:latest
+ tty: true
+ entrypoint: /bin/bash
+ restart: always
+ volumes_from:
+ - data
+ links:
+ - mysql:adei-mysql
+ environment:
+ - ADEI_ENABLED_SETUPS=autogen
+ ports:
+ - 79:80
volumes:
db:
@@ -96,5 +111,6 @@ volumes:
tmp:
cfg:
sys:
+ ovr:
mail:
logs: