Taudris-IAC/nextcloud/20230128/docker-compose.yml.bak

94 lines
2.5 KiB
YAML

version: '3.8'
networks:
nextcloud:
services:
app:
build: /home/robert/nextcloud/nextcloud
image: nextcloud:taudris20230113
restart: always
networks:
nextcloud:
aliases:
- nextcloud.taudris.com
ports:
- 7980:80
volumes:
- /etc/nextcloud/files:/var/www/html
- /etc/nextcloud/storage:/storage
user: 1002:1002 #set to match the user that has permission to the volume mounts
environment:
OVERWRITEPROTOCOL: https
NEXTCLOUD_TRUSTED_DOMAINS: nextcloud.taudris.com
NEXTCLOUD_DATA_DIR: /storage
NEXTCLOUD_ADMIN_PASSWORD: u8KXCqiZcVBUVr2Wa7EpkuDKPs8KYLb8uFNu3nfBQrxPx3ybUypgDkUVZP3E5v4T
POSTGRES_HOST: db
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: qe8S4GioPRS2AZWwqLejzoEDNhGsJMrij6TJ4bXxC2XkfvjxNKoqKktvrHEcER6k
REDIS_HOST: redis
REDIS_HOST_PASSWORD: rYGNbjKkbKjALePfGDyLZ6uNp2UD3U4dGf4SZyL5iWqz3nexdko2HdS9vqDMRWVP
depends_on:
- db
- redis
collabora:
image: collabora/code
restart: always
networks:
nextcloud:
aliases:
- collabora.taudris.com
ports:
- 9980:9980
environment:
username: admin
password: 68gfyjs7s7ZoKHjYWHHEJEXLYcTFpQeb5wHv2cp33UW2vv5VKwjZtCmRrNeuCwAR
domain: nextcloud.taudris.com #WOPI host
dictionaries: en_US
#extra_params: "--o:ssl.enable=false"
server_name: collabora.taudris.com
cert_domain: collabora.taudris.com
cap_add:
- MKNOD
tty: true
db:
image: postgres:14.6
restart: always
networks:
- nextcloud
volumes:
- /etc/nextcloud/db:/var/lib/postgresql/data
user: 1002:1002 #set to match the user that has permission to the volume mounts
environment:
POSTGRES_DB: nextcloud
POSTGRES_USER: nextcloud
POSTGRES_PASSWORD: qe8S4GioPRS2AZWwqLejzoEDNhGsJMrij6TJ4bXxC2XkfvjxNKoqKktvrHEcER6k
redis:
image: redis
restart: always
command: redis-server --requirepass rYGNbjKkbKjALePfGDyLZ6uNp2UD3U4dGf4SZyL5iWqz3nexdko2HdS9vqDMRWVP
networks:
- nextcloud
# coturn:
# image: instrumentisto/coturn
# restart: always
# network_mode: host
# #networks:
# # - nextcloud
# ports:
# - "3478:3478/tcp"
# - "3478:3478/udp"
# command:
# - -n
# - --log-file=stdout
# - --min-port=49160
# - --max-port=49200
# - --realm=nextcloud.taudris.com
# - --use-auth-secret
# - --static-auth-secret=RtoRDRtHjmX8tvRcdvL3ncjPcXK5tWSJD4LYf4hiBYWefdHPk7jWvs5foXtYa7bb