Compare commits

...

10 commits

Author SHA1 Message Date
sujiba
e514a0fb66 feat: added forgejo settings 2024-05-24 01:03:36 +02:00
sujiba
fe35b50124 feat: added smtp settings 2024-05-24 00:03:39 +02:00
sujiba
8e6075df01 feat: added table of contents and warning 2024-05-23 13:58:41 +02:00
sujiba
05861f15c8 feat: added table of contents and warning 2024-05-23 13:58:33 +02:00
sujiba
12f3a3912e nextcloud/nextcloud.env aktualisiert 2024-05-23 11:56:22 +00:00
sujiba
ca695e8c31 feat: added hint 2024-05-23 13:53:57 +02:00
sujiba
6b8beb5518 feat: added example values 2024-05-23 13:51:39 +02:00
sujiba
8b3413bde7 chore: moved vars intro .env file for clarity 2024-05-23 13:49:51 +02:00
sujiba
e14601d67c fix: removed password 2024-05-23 13:27:09 +02:00
sujiba
821a9f531b chore: removed domain 2024-05-23 13:24:38 +02:00
5 changed files with 40 additions and 13 deletions

View file

@ -34,6 +34,10 @@ services:
'
environment:
FORGEJO__security__INSTALL_LOCK: "true"
FORGEJO__server__DISABLE_SSH: "true"
FORGEJO__service__DISABLE_REGISTRATION: "true"
FORGEJO__service__SHOW_REGISTRATION_BUTTON: "false"
FORGEJO__service__DEFAULT_KEEP_EMAIL_PRIVATE: "true"
FORGEJO__log__LEVEL: "debug"
FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true"
FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE: "false"
@ -41,7 +45,7 @@ services:
volumes:
- ./volumes/forgejo-data:/data
ports:
- "127.0.0.1:13000:3000"
- "127.0.0.1:3001:3000"
runner-daemon:
image: code.forgejo.org/forgejo/runner:3.3.0

View file

@ -1,5 +1,9 @@
# Nextcloud Docker Compose Stack
- [Nextcloud Docker Compose Stack](#nextcloud-docker-compose-stack)
- [Directory structure](#directory-structure)
- [Configuration](#configuration)
## Directory structure
```
/opt/docker/nextcloud
@ -10,4 +14,7 @@
└── volumes
├── db
└── nextcloud
```
```
## Configuration
Change the values in **mariadb.env** and **nextcloud.env** accordingly.

View file

@ -1,11 +1,10 @@
---
services:
nc_db:
image: mariadb:10.5
image: mariadb:10.11
container_name: nc_db
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
environment:
- MYSQL_ROOT_PASSWORD=Subatomic-Lapping0-Untagged-Deceptive-Judge
- MARIADB_AUTO_UPGRADE=1
- MARIADB_DISABLE_UPGRADE_BACKUP=1
env_file:
@ -26,11 +25,6 @@ services:
environment:
- MYSQL_HOST=nc_db
- REDIS_HOST=nc_redis
- TRUSTED_PROXIES=172.16.0.0/12
- OVERWRITEHOST=cloud.smail.koeln
- OVERWRITEPROTOCOL=https
- OVERWRITEWEBROOT=/
- PHP_UPLOAD_LIMIT=1G
env_file:
- nextcloud.env
ports:

View file

@ -1 +1 @@
MYSQL_ROOT_PASSWORD=
MYSQL_ROOT_PASSWORD=YOUR_RANDOM_PASSWORD

View file

@ -1,3 +1,25 @@
MYSQL_PASSWORD=
MYSQL_DATABASE=
MYSQL_USER=
# https://github.com/nextcloud/docker#base-version---apache
# Nextcloud database settings
MYSQL_DATABASE=nextcloud
MYSQL_USER=nextcloud
MYSQL_PASSWORD=YOUR_RANDOM_PASSWORD
# Reverse proxy settings
# If you're not using a reverse proxy (not recommended), you must comment out the following lines
TRUSTED_PROXIES=172.16.0.0/12
OVERWRITEHOST=cloud.example.com
OVERWRITEPROTOCOL=https
OVERWRITEWEBROOT=/
# PHP settings
PHP_UPLOAD_LIMIT=1G
# SMTP settings
SMTP_HOST=smtp.example.com
SMTP_PORT=465
SMTP_SECURE=ssl
SMTP_NAME=no-reply@example.com
SMTP_PASSWORD=YOUR_SECURE_PASSWORD
MAIL_FROM_ADDRESS=no-reply
MAIL_DOMAIN=example.com