Doku: Docker-Stacks unter guests/vm101-ubuntu.
Compose und stack-relevante Config ohne Volumes/Daten; Secrets REDACTED. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,76 @@
|
||||
x-logging: &default-logging
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "50m"
|
||||
max-file: "3"
|
||||
|
||||
networks:
|
||||
default:
|
||||
external: false
|
||||
docbr0:
|
||||
external: true
|
||||
services:
|
||||
db:
|
||||
logging: *default-logging
|
||||
image: mariadb
|
||||
command: --transaction-isolation=READ-COMMITTED --character-set-server=utf8
|
||||
--innodb-read-only-compressed=OFF --log-bin=binlog --binlog-format=ROW
|
||||
--expire_logs_days=7
|
||||
restart: always
|
||||
volumes:
|
||||
- ./db:/var/lib/mysql
|
||||
environment:
|
||||
- MYSQL_ROOT_PASSWORD=REDACTED
|
||||
- MARIADB_AUTO_UPGRADE=1
|
||||
env_file:
|
||||
- db.env
|
||||
redis:
|
||||
logging: *default-logging
|
||||
image: redis:alpine
|
||||
restart: always
|
||||
nextcloud:
|
||||
logging: *default-logging
|
||||
image: lscr.io/linuxserver/nextcloud:latest
|
||||
container_name: nextcloud
|
||||
hostname: cloud
|
||||
domainname: cloud.jeanavril.com
|
||||
extra_hosts:
|
||||
- cloud.jeanavril.com:127.0.0.1
|
||||
environment:
|
||||
- PUID=33
|
||||
- PGID=33
|
||||
- TZ=Etc/UTC
|
||||
volumes:
|
||||
- ./config:/config
|
||||
- /mnt/nextcloud-data:/data
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
networks:
|
||||
default:
|
||||
docbr0:
|
||||
ipv4_address: 10.2.2.253
|
||||
collabora:
|
||||
logging: *default-logging
|
||||
image: collabora/code
|
||||
container_name: collabora
|
||||
environment:
|
||||
- domain=cloud.jeanavril.com
|
||||
- username=admin
|
||||
- password=REDACTED
|
||||
cap_add:
|
||||
- MKNOD
|
||||
restart: always
|
||||
|
||||
notify_push:
|
||||
logging: *default-logging
|
||||
image: ghcr.io/nextcloud/notify_push:latest
|
||||
container_name: nextcloud-notify-push
|
||||
restart: unless-stopped
|
||||
network_mode: "service:nextcloud"
|
||||
depends_on:
|
||||
- nextcloud
|
||||
volumes:
|
||||
- ./config/www/nextcloud/config/config.php:/config/config.php:ro
|
||||
command: ["/notify_push", "--port", "7867", "--nextcloud-url", "http://127.0.0.1", "/config/config.php"]
|
||||
Reference in New Issue
Block a user