Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .examples/docker-compose/insecure/mariadb/apache/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,24 @@ services:
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
- db.env
healthcheck:
test: ["CMD", "healthcheck.sh", "--innodb_initialized"]
interval: 30s
timeout: 10s
retries: 5
start_period: 30s

# Note: Redis is an external service. You can find more information about the configuration here:
# https://hub.docker.com/_/redis
redis:
image: redis:alpine
restart: always
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 30s
timeout: 5s
retries: 5
start_period: 10s

app:
image: nextcloud:apache
Expand All @@ -36,8 +48,10 @@ services:
env_file:
- db.env
depends_on:
- db
- redis
db:
condition: service_healthy
redis:
condition: service_healthy

cron:
image: nextcloud:apache
Expand Down