Compare commits
10 commits
aa447c22cb
...
e514a0fb66
Author | SHA1 | Date | |
---|---|---|---|
|
e514a0fb66 | ||
|
fe35b50124 | ||
|
8e6075df01 | ||
|
05861f15c8 | ||
|
12f3a3912e | ||
|
ca695e8c31 | ||
|
6b8beb5518 | ||
|
8b3413bde7 | ||
|
e14601d67c | ||
|
821a9f531b |
5 changed files with 40 additions and 13 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
@ -11,3 +15,6 @@
|
|||
├── db
|
||||
└── nextcloud
|
||||
```
|
||||
|
||||
## Configuration
|
||||
Change the values in **mariadb.env** and **nextcloud.env** accordingly.
|
|
@ -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:
|
||||
|
|
|
@ -1 +1 @@
|
|||
MYSQL_ROOT_PASSWORD=
|
||||
MYSQL_ROOT_PASSWORD=YOUR_RANDOM_PASSWORD
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue