Compare commits
No commits in common. "e514a0fb661c1bdf49937f68b55460ad243f0757" and "aa447c22cbffd1894b4a014fc54a5658541d47b6" have entirely different histories.
e514a0fb66
...
aa447c22cb
5 changed files with 13 additions and 40 deletions
|
@ -34,10 +34,6 @@ services:
|
||||||
'
|
'
|
||||||
environment:
|
environment:
|
||||||
FORGEJO__security__INSTALL_LOCK: "true"
|
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__log__LEVEL: "debug"
|
||||||
FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true"
|
FORGEJO__repository__ENABLE_PUSH_CREATE_USER: "true"
|
||||||
FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE: "false"
|
FORGEJO__repository__DEFAULT_PUSH_CREATE_PRIVATE: "false"
|
||||||
|
@ -45,7 +41,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- ./volumes/forgejo-data:/data
|
- ./volumes/forgejo-data:/data
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3001:3000"
|
- "127.0.0.1:13000:3000"
|
||||||
|
|
||||||
runner-daemon:
|
runner-daemon:
|
||||||
image: code.forgejo.org/forgejo/runner:3.3.0
|
image: code.forgejo.org/forgejo/runner:3.3.0
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
# Nextcloud Docker Compose Stack
|
# Nextcloud Docker Compose Stack
|
||||||
|
|
||||||
- [Nextcloud Docker Compose Stack](#nextcloud-docker-compose-stack)
|
|
||||||
- [Directory structure](#directory-structure)
|
|
||||||
- [Configuration](#configuration)
|
|
||||||
|
|
||||||
## Directory structure
|
## Directory structure
|
||||||
```
|
```
|
||||||
/opt/docker/nextcloud
|
/opt/docker/nextcloud
|
||||||
|
@ -15,6 +11,3 @@
|
||||||
├── db
|
├── db
|
||||||
└── nextcloud
|
└── nextcloud
|
||||||
```
|
```
|
||||||
|
|
||||||
## Configuration
|
|
||||||
Change the values in **mariadb.env** and **nextcloud.env** accordingly.
|
|
|
@ -1,10 +1,11 @@
|
||||||
---
|
---
|
||||||
services:
|
services:
|
||||||
nc_db:
|
nc_db:
|
||||||
image: mariadb:10.11
|
image: mariadb:10.5
|
||||||
container_name: nc_db
|
container_name: nc_db
|
||||||
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
|
||||||
environment:
|
environment:
|
||||||
|
- MYSQL_ROOT_PASSWORD=Subatomic-Lapping0-Untagged-Deceptive-Judge
|
||||||
- MARIADB_AUTO_UPGRADE=1
|
- MARIADB_AUTO_UPGRADE=1
|
||||||
- MARIADB_DISABLE_UPGRADE_BACKUP=1
|
- MARIADB_DISABLE_UPGRADE_BACKUP=1
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -25,6 +26,11 @@ services:
|
||||||
environment:
|
environment:
|
||||||
- MYSQL_HOST=nc_db
|
- MYSQL_HOST=nc_db
|
||||||
- REDIS_HOST=nc_redis
|
- REDIS_HOST=nc_redis
|
||||||
|
- TRUSTED_PROXIES=172.16.0.0/12
|
||||||
|
- OVERWRITEHOST=cloud.smail.koeln
|
||||||
|
- OVERWRITEPROTOCOL=https
|
||||||
|
- OVERWRITEWEBROOT=/
|
||||||
|
- PHP_UPLOAD_LIMIT=1G
|
||||||
env_file:
|
env_file:
|
||||||
- nextcloud.env
|
- nextcloud.env
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
MYSQL_ROOT_PASSWORD=YOUR_RANDOM_PASSWORD
|
MYSQL_ROOT_PASSWORD=
|
|
@ -1,25 +1,3 @@
|
||||||
# https://github.com/nextcloud/docker#base-version---apache
|
MYSQL_PASSWORD=
|
||||||
|
MYSQL_DATABASE=
|
||||||
# Nextcloud database settings
|
MYSQL_USER=
|
||||||
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