2022-05-09 07:47:54 +08:00
|
|
|
version: "3.8"
|
|
|
|
|
|
|
|
services:
|
|
|
|
nextcloud-aio-apache:
|
|
|
|
depends_on:
|
|
|
|
- nextcloud-aio-onlyoffice
|
|
|
|
- nextcloud-aio-collabora
|
|
|
|
- nextcloud-aio-talk
|
|
|
|
- nextcloud-aio-nextcloud
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-apache:latest
|
2022-05-09 07:47:54 +08:00
|
|
|
ports:
|
2023-01-03 20:15:50 +08:00
|
|
|
- ${APACHE_IP_BINDING}:${APACHE_PORT}:${APACHE_PORT}/tcp
|
2022-05-09 07:47:54 +08:00
|
|
|
environment:
|
|
|
|
- NC_DOMAIN=${NC_DOMAIN}
|
|
|
|
- NEXTCLOUD_HOST=nextcloud-aio-nextcloud
|
|
|
|
- COLLABORA_HOST=nextcloud-aio-collabora
|
|
|
|
- TALK_HOST=nextcloud-aio-talk
|
|
|
|
- APACHE_PORT=${APACHE_PORT}
|
|
|
|
- ONLYOFFICE_HOST=nextcloud-aio-onlyoffice
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
2022-09-21 20:23:29 +08:00
|
|
|
- APACHE_MAX_SIZE=${APACHE_MAX_SIZE}
|
|
|
|
- APACHE_MAX_TIME=${NEXTCLOUD_MAX_TIME}
|
2022-05-09 07:47:54 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_nextcloud:/var/www/html:ro
|
|
|
|
- nextcloud_aio_apache:/mnt/data:rw
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-database:
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-postgresql:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "5432"
|
2022-05-09 07:47:54 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_database:/var/lib/postgresql/data:rw
|
|
|
|
- nextcloud_aio_database_dump:/mnt/data:rw
|
|
|
|
environment:
|
|
|
|
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
|
|
|
- POSTGRES_DB=nextcloud_database
|
|
|
|
- POSTGRES_USER=nextcloud
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
- PGTZ=${TIMEZONE}
|
2022-05-09 07:47:54 +08:00
|
|
|
stop_grace_period: 1800s
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2023-04-13 20:02:39 +08:00
|
|
|
shm_size: 268435456
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-nextcloud:
|
|
|
|
depends_on:
|
|
|
|
- nextcloud-aio-database
|
|
|
|
- nextcloud-aio-redis
|
2022-09-05 20:19:49 +08:00
|
|
|
- nextcloud-aio-clamav
|
|
|
|
- nextcloud-aio-fulltextsearch
|
|
|
|
- nextcloud-aio-imaginary
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-nextcloud:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "9000"
|
|
|
|
- "7867"
|
2022-05-09 07:47:54 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_nextcloud:/var/www/html:rw
|
|
|
|
- ${NEXTCLOUD_DATADIR}:/mnt/ncdata:rw
|
|
|
|
- ${NEXTCLOUD_MOUNT}:${NEXTCLOUD_MOUNT}:rw
|
2022-11-12 20:17:20 +08:00
|
|
|
- ${NEXTCLOUD_TRUSTED_CACERTS_DIR}:/usr/local/share/ca-certificates:ro
|
2022-05-09 07:47:54 +08:00
|
|
|
environment:
|
|
|
|
- POSTGRES_HOST=nextcloud-aio-database
|
|
|
|
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
|
|
|
|
- POSTGRES_DB=nextcloud_database
|
|
|
|
- POSTGRES_USER=nextcloud
|
|
|
|
- REDIS_HOST=nextcloud-aio-redis
|
|
|
|
- REDIS_HOST_PASSWORD=${REDIS_PASSWORD}
|
|
|
|
- AIO_TOKEN=${AIO_TOKEN}
|
|
|
|
- NC_DOMAIN=${NC_DOMAIN}
|
|
|
|
- ADMIN_USER=admin
|
|
|
|
- ADMIN_PASSWORD=${NEXTCLOUD_PASSWORD}
|
|
|
|
- NEXTCLOUD_DATA_DIR=/mnt/ncdata
|
|
|
|
- OVERWRITEHOST=${NC_DOMAIN}
|
|
|
|
- OVERWRITEPROTOCOL=https
|
|
|
|
- TURN_SECRET=${TURN_SECRET}
|
|
|
|
- SIGNALING_SECRET=${SIGNALING_SECRET}
|
2022-07-07 20:20:18 +08:00
|
|
|
- ONLYOFFICE_SECRET=${ONLYOFFICE_SECRET}
|
2022-05-09 07:47:54 +08:00
|
|
|
- AIO_URL=${AIO_URL}
|
|
|
|
- NEXTCLOUD_MOUNT=${NEXTCLOUD_MOUNT}
|
|
|
|
- CLAMAV_ENABLED=${CLAMAV_ENABLED}
|
|
|
|
- CLAMAV_HOST=nextcloud-aio-clamav
|
|
|
|
- ONLYOFFICE_ENABLED=${ONLYOFFICE_ENABLED}
|
|
|
|
- COLLABORA_ENABLED=${COLLABORA_ENABLED}
|
|
|
|
- COLLABORA_HOST=nextcloud-aio-collabora
|
|
|
|
- TALK_ENABLED=${TALK_ENABLED}
|
|
|
|
- ONLYOFFICE_HOST=nextcloud-aio-onlyoffice
|
2022-07-23 20:17:00 +08:00
|
|
|
- UPDATE_NEXTCLOUD_APPS=${UPDATE_NEXTCLOUD_APPS}
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
2022-07-07 20:20:18 +08:00
|
|
|
- TALK_PORT=${TALK_PORT}
|
2022-09-05 20:19:49 +08:00
|
|
|
- IMAGINARY_ENABLED=${IMAGINARY_ENABLED}
|
|
|
|
- IMAGINARY_HOST=nextcloud-aio-imaginary
|
|
|
|
- PHP_UPLOAD_LIMIT=${NEXTCLOUD_UPLOAD_LIMIT}
|
2022-11-12 20:17:20 +08:00
|
|
|
- PHP_MEMORY_LIMIT=${NEXTCLOUD_MEMORY_LIMIT}
|
2022-09-05 20:19:49 +08:00
|
|
|
- FULLTEXTSEARCH_ENABLED=${FULLTEXTSEARCH_ENABLED}
|
|
|
|
- FULLTEXTSEARCH_HOST=nextcloud-aio-fulltextsearch
|
|
|
|
- PHP_MAX_TIME=${NEXTCLOUD_MAX_TIME}
|
2022-11-12 20:17:20 +08:00
|
|
|
- TRUSTED_CACERTS_DIR=${NEXTCLOUD_TRUSTED_CACERTS_DIR}
|
|
|
|
- STARTUP_APPS=${NEXTCLOUD_STARTUP_APPS}
|
|
|
|
- ADDITIONAL_APKS=${NEXTCLOUD_ADDITIONAL_APKS}
|
|
|
|
- ADDITIONAL_PHP_EXTENSIONS=${NEXTCLOUD_ADDITIONAL_PHP_EXTENSIONS}
|
2023-04-13 20:02:39 +08:00
|
|
|
- INSTALL_LATEST_MAJOR=${INSTALL_LATEST_MAJOR}
|
2022-05-09 07:47:54 +08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-redis:
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-redis:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "6379"
|
2022-05-09 07:47:54 +08:00
|
|
|
environment:
|
|
|
|
- REDIS_HOST_PASSWORD=${REDIS_PASSWORD}
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
2022-12-29 07:50:41 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_redis:/data:rw
|
2022-05-09 07:47:54 +08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-collabora:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["collabora"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-collabora:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "9980"
|
2022-05-09 07:47:54 +08:00
|
|
|
environment:
|
|
|
|
- aliasgroup1=https://${NC_DOMAIN}:443
|
2023-03-13 20:17:42 +08:00
|
|
|
- extra_params=--o:ssl.enable=false --o:ssl.termination=true --o:mount_jail_tree=false --o:logging.level=warning --o:home_mode.enable=true ${COLLABORA_SECCOMP_POLICY} --o:remote_font_config.url=https://${NC_DOMAIN}/apps/richdocuments/settings/fonts.json
|
2022-07-07 20:20:18 +08:00
|
|
|
- dictionaries=${COLLABORA_DICTIONARIES}
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
2023-02-07 20:16:56 +08:00
|
|
|
- server_name=${NC_DOMAIN}
|
2023-05-02 20:04:41 +08:00
|
|
|
- DONT_GEN_SSL_CERT=1
|
2022-12-29 07:50:41 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_collabora_fonts:/opt/cool/systemplate/tmpfonts:rw
|
2022-05-09 07:47:54 +08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-talk:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["talk"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-talk:latest
|
2022-05-09 07:47:54 +08:00
|
|
|
ports:
|
2022-07-07 20:20:18 +08:00
|
|
|
- ${TALK_PORT}:${TALK_PORT}/tcp
|
|
|
|
- ${TALK_PORT}:${TALK_PORT}/udp
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "8081"
|
2022-05-09 07:47:54 +08:00
|
|
|
environment:
|
|
|
|
- NC_DOMAIN=${NC_DOMAIN}
|
|
|
|
- TURN_SECRET=${TURN_SECRET}
|
|
|
|
- SIGNALING_SECRET=${SIGNALING_SECRET}
|
2022-05-24 20:18:38 +08:00
|
|
|
- TZ=${TIMEZONE}
|
2022-07-07 20:20:18 +08:00
|
|
|
- TALK_PORT=${TALK_PORT}
|
2022-05-09 07:47:54 +08:00
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-clamav:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["clamav"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-clamav:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "3310"
|
2022-05-24 20:18:38 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
2022-12-29 07:50:41 +08:00
|
|
|
- CLAMD_STARTUP_TIMEOUT=90
|
2022-05-09 07:47:54 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_clamav:/var/lib/clamav:rw
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud-aio-onlyoffice:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["onlyoffice"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-onlyoffice:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "80"
|
2022-05-24 20:18:38 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
2022-07-07 20:20:18 +08:00
|
|
|
- JWT_ENABLED=true
|
|
|
|
- JWT_HEADER=AuthorizationJwt
|
|
|
|
- JWT_SECRET=${ONLYOFFICE_SECRET}
|
2022-05-09 07:47:54 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_onlyoffice:/var/lib/onlyoffice:rw
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-09-05 20:19:49 +08:00
|
|
|
nextcloud-aio-imaginary:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["imaginary"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-imaginary:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "9000"
|
2022-09-05 20:19:49 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2023-03-13 20:17:42 +08:00
|
|
|
cap_add:
|
|
|
|
- SYS_NICE
|
2022-12-23 22:45:22 +08:00
|
|
|
|
2022-09-05 20:19:49 +08:00
|
|
|
nextcloud-aio-fulltextsearch:
|
2022-12-23 22:45:22 +08:00
|
|
|
profiles: ["fulltextsearch"]
|
2023-02-17 00:31:28 +08:00
|
|
|
image: nextcloud/aio-fulltextsearch:latest
|
2023-02-04 20:14:08 +08:00
|
|
|
expose:
|
|
|
|
- "9200"
|
2022-09-05 20:19:49 +08:00
|
|
|
environment:
|
|
|
|
- TZ=${TIMEZONE}
|
|
|
|
- discovery.type=single-node
|
|
|
|
- ES_JAVA_OPTS=-Xms1024M -Xmx1024M
|
2023-02-04 20:14:08 +08:00
|
|
|
- POSTGRES_HOST=nextcloud-aio-database
|
2022-09-05 20:19:49 +08:00
|
|
|
volumes:
|
|
|
|
- nextcloud_aio_elasticsearch:/usr/share/elasticsearch/data:rw
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
|
|
|
- nextcloud-aio
|
2022-05-09 07:47:54 +08:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
nextcloud_aio_apache:
|
|
|
|
name: nextcloud_aio_apache
|
|
|
|
nextcloud_aio_clamav:
|
|
|
|
name: nextcloud_aio_clamav
|
2022-12-29 07:50:41 +08:00
|
|
|
nextcloud_aio_collabora_fonts:
|
|
|
|
name: nextcloud_aio_collabora_fonts
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud_aio_database:
|
|
|
|
name: nextcloud_aio_database
|
|
|
|
nextcloud_aio_database_dump:
|
|
|
|
name: nextcloud_aio_database_dump
|
2022-09-05 20:19:49 +08:00
|
|
|
nextcloud_aio_elasticsearch:
|
|
|
|
name: nextcloud_aio_elasticsearch
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud_aio_nextcloud:
|
|
|
|
name: nextcloud_aio_nextcloud
|
|
|
|
nextcloud_aio_onlyoffice:
|
|
|
|
name: nextcloud_aio_onlyoffice
|
2022-12-29 07:50:41 +08:00
|
|
|
nextcloud_aio_redis:
|
|
|
|
name: nextcloud_aio_redis
|
2022-05-09 07:47:54 +08:00
|
|
|
nextcloud_aio_nextcloud_data:
|
|
|
|
name: nextcloud_aio_nextcloud_data
|
|
|
|
|
|
|
|
networks:
|
|
|
|
nextcloud-aio:
|