Akatosh
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
services:
|
||||
db:
|
||||
image: mariadb:11.8
|
||||
restart: unless-stopped
|
||||
command: --transaction-isolation=READ-COMMITTED
|
||||
environment:
|
||||
MARIADB_DATABASE: nextcloud
|
||||
MARIADB_USER: nextcloud
|
||||
MARIADB_PASSWORD: "{{ nextcloud_db_password }}"
|
||||
MARIADB_RANDOM_ROOT_PASSWORD: 1
|
||||
volumes:
|
||||
- db:/var/lib/mysql
|
||||
healthcheck:
|
||||
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
||||
interval: 10s
|
||||
retries: 12
|
||||
redis:
|
||||
image: redis:alpine
|
||||
restart: unless-stopped
|
||||
nextcloud:
|
||||
image: nextcloud:34.0.1-apache
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_started
|
||||
ports:
|
||||
- "127.0.0.1:8081:80"
|
||||
volumes:
|
||||
- html:/var/www/html
|
||||
- /var/nextcloud:/var/nextcloud
|
||||
- /opt/nightingale/songs:/karaoke
|
||||
environment:
|
||||
TRUSTED_PROXIES: "172.16.0.0/12"
|
||||
APACHE_DISABLE_REWRITE_IP: 1
|
||||
cron:
|
||||
image: nextcloud:34.0.1-apache
|
||||
restart: unless-stopped
|
||||
entrypoint: /cron.sh
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
redis:
|
||||
condition: service_started
|
||||
volumes:
|
||||
- html:/var/www/html
|
||||
- /var/nextcloud:/var/nextcloud
|
||||
|
||||
volumes:
|
||||
db:
|
||||
html:
|
||||
Reference in New Issue
Block a user