Update Installation

deon 2024-05-26 07:22:50 +00:00
parent 003f84a012
commit b7f08d2db0

@ -115,7 +115,7 @@ services:
DB_DATABASE: ${DB_DATABASE:-laravel} DB_DATABASE: ${DB_DATABASE:-laravel}
DB_USERNAME: ${DB_USERNAME:-laravel} DB_USERNAME: ${DB_USERNAME:-laravel}
DB_PASSWORD: ${DB_PASSWORD} DB_PASSWORD: ${DB_PASSWORD}
FIDO_DNS_NS: hap-1-3.dege.au FIDO_DNS_NS: ${FIDO_DNS_NS}
FIDO_PACKET_KEEP: ${FIDO_PACKET_KEEP:-"TRUE"} FIDO_PACKET_KEEP: ${FIDO_PACKET_KEEP:-"TRUE"}
FIDO_HAPROXY: ${FIDO_HAPROXY:-"TRUE"} FIDO_HAPROXY: ${FIDO_HAPROXY:-"TRUE"}
LOG_LEVEL: ${LOG_LEVEL:-info} LOG_LEVEL: ${LOG_LEVEL:-info}
@ -295,6 +295,45 @@ networks:
gateway: ${IP6_PREFIX}:${IP6_SUFFIX}::1 gateway: ${IP6_PREFIX}:${IP6_SUFFIX}::1
``` ```
Also make an `.env` file, that is placed in your clrghouz directory (`/srv/docker/clrghouz`).
```text
# Clrghouz Details
IMAGE=gitea.dege.au/bbs/clrghouz
IP6_PREFIX=2406:3400:314:2497
IP6_SUFFIX=0d0c:1203
VOL_PREFIX=/srv/dockerclrghouz
APP_KEY=[APP_KEY]
APP_TIMEZONE=Australia/Melbourne
LOG_LEVEL=info
WEB_HOSTNAME=clrghouz.example.com
# Where files are stored
AWS_ACCESS_KEY_ID=[MINIO_ACCESS_KEY]
AWS_SECRET_ACCESS_KEY=[MINIO_SECRET_KEY]
AWS_ENDPOINT=http://minio:9000/
AWS_BUCKET=clrghouz
# Database configuration
DB_DATABASE=laravel
DB_USERNAME=laravel
DB_PASSWORD=[DB_PASSWORD]
# Fido Details
FIDO_DNS_NS: haproxy.example.com
FIDO_PACKET_KEEP: "true"
FIDO_HAPROXY: "true"
# Email Details
MAIL_FROM_ADDRESS: [YOUR EMAIL]
MAIL_FROM_NAME: "[YOUR NAME]"
# Other Items
MEMCACHED_START: "FALSE"
ZEROTIER_START: "FALSE"
```
_NOTES:_ _NOTES:_
* This docker compose file should be called `docker-compose.yml` for it to be found automatically. * This docker compose file should be called `docker-compose.yml` for it to be found automatically.