summaryrefslogtreecommitdiffstats
path: root/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
diff options
context:
space:
mode:
Diffstat (limited to '.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml')
-rw-r--r--.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
index 5fc70af1..b00761b6 100644
--- a/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
+++ b/.examples/docker-compose/with-nginx-proxy/mariadb/fpm/docker-compose.yml
@@ -12,6 +12,10 @@ services:
env_file:
- db.env
+ redis:
+ image: redis:alpine
+ restart: always
+
app:
image: nextcloud:fpm-alpine
restart: always
@@ -19,10 +23,12 @@ services:
- nextcloud:/var/www/html
environment:
- MYSQL_HOST=db
+ - REDIS_HOST=redis
env_file:
- db.env
depends_on:
- db
+ - redis
web:
build: ./web
@@ -39,6 +45,16 @@ services:
- proxy-tier
- default
+ cron:
+ image: nextcloud:fpm-alpine
+ restart: always
+ volumes:
+ - nextcloud:/var/www/html
+ entrypoint: /cron.sh
+ depends_on:
+ - db
+ - redis
+
proxy:
build: ./proxy
restart: always
@@ -68,6 +84,21 @@ services:
depends_on:
- proxy
+# self signed
+# omgwtfssl:
+# image: paulczar/omgwtfssl
+# restart: "no"
+# volumes:
+# - certs:/certs
+# environment:
+# - SSL_SUBJECT=servhostname.local
+# - CA_SUBJECT=my@example.com
+# - SSL_KEY=/certs/servhostname.local.key
+# - SSL_CSR=/certs/servhostname.local.csr
+# - SSL_CERT=/certs/servhostname.local.crt
+# networks:
+# - proxy-tier
+
volumes:
db:
nextcloud: