|
@@ -0,0 +1,40 @@
|
|
|
+version: '3'
|
|
|
+services:
|
|
|
+ redis:
|
|
|
+ image: redis:latest
|
|
|
+ volumes:
|
|
|
+ - /docker-filesystem/httpd/redis:/data
|
|
|
+ restart: always
|
|
|
+ ports:
|
|
|
+ - 8002:6379
|
|
|
+ captcha:
|
|
|
+ image: registry.scw.systems/captcha:1.2.5.1
|
|
|
+ restart: always
|
|
|
+ environment:
|
|
|
+ - COOKIE_NAME=hicludes
|
|
|
+ - COOKIE_KEY=DydmRdMMZWcRF91mNj/CWLPzzQQi5Rew0cBP0qiBUZI=
|
|
|
+ - BIND=0.0.0.0
|
|
|
+ - REDIS_HOST=redis
|
|
|
+ - REDIS_PORT=6379
|
|
|
+ - HUMAN_TTL=10m
|
|
|
+ ports:
|
|
|
+ - 8003:8080
|
|
|
+ apache:
|
|
|
+ image: httpd-lua:latest
|
|
|
+ depends_on:
|
|
|
+ - redis
|
|
|
+ volumes:
|
|
|
+ - /docker-filesystem/httpd/apache/httpd-lua.conf:/usr/local/apache2/conf/extra/httpd-lua.conf
|
|
|
+ - /docker-filesystem/httpd/apache/htdocs:/usr/local/apache2/htdocs
|
|
|
+ - /docker-filesystem/httpd/apache/lua:/usr/local/apache2/lua
|
|
|
+ environment:
|
|
|
+ - SCW_IGNORE=(^/assets/|\.(png|jpe?g|svg|gif|js|css)$$)
|
|
|
+ - SCW_KEY=DydmRdMMZWcRF91mNj/CWLPzzQQi5Rew0cBP0qiBUZI=
|
|
|
+ - SCW_COOKIE=hicludes
|
|
|
+ - SCW_CAPTCHA_URL=http://docker.scw.systems:8003/?src=%s&r=%s
|
|
|
+ - SCW_REDIS_HOST=redis
|
|
|
+ - SCW_REDIS_PORT=6379
|
|
|
+ - SCW_TEST=yes
|
|
|
+ ports:
|
|
|
+ - 8001:80
|
|
|
+ restart: always
|