initial commit
This commit is contained in:
45
collection-manager/.env
Normal file
45
collection-manager/.env
Normal file
@@ -0,0 +1,45 @@
|
||||
########################################################################################################
|
||||
# WEB
|
||||
#
|
||||
# APP_DEBUG=1 displays detailed error message
|
||||
#
|
||||
# APP_SECRET is a random string used for security, you can use for example openssl rand -base64 21
|
||||
# APP_SECRET is automatically generated when using Docker
|
||||
#
|
||||
# PHP_TZ, see possible values here https://www.w3schools.com/php/php_ref_timezones.asp
|
||||
########################################################################################################
|
||||
|
||||
APP_DEBUG=0
|
||||
APP_ENV=prod
|
||||
#APP_SECRET=
|
||||
|
||||
HTTPS_ENABLED=1
|
||||
UPLOAD_MAX_FILESIZE=20M
|
||||
PHP_MEMORY_LIMIT=512M
|
||||
PHP_TZ=Europe/Vienna
|
||||
|
||||
|
||||
########################################################################################################
|
||||
# API
|
||||
#
|
||||
#
|
||||
# JWT_PASSPHRASE is a random string used for security, you can use for example openssl rand -base64 21
|
||||
# JWT_PASSPHRASE is automatically generated when using Docker
|
||||
########################################################################################################
|
||||
|
||||
CORS_ALLOW_ORIGIN='^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$'
|
||||
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
|
||||
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
|
||||
#JWT_PASSPHRASE=
|
||||
|
||||
########################################################################################################
|
||||
# DATABASE
|
||||
########################################################################################################
|
||||
|
||||
DB_DRIVER=pdo_pgsql
|
||||
DB_NAME=koillection
|
||||
DB_HOST=db
|
||||
DB_PORT=5432
|
||||
DB_USER=koillection
|
||||
DB_PASSWORD=Hypnotize-Obedience-Emblem-Tutu-Disorder-Edgy5
|
||||
DB_VERSION=16
|
||||
1
collection-manager/autostart
Normal file
1
collection-manager/autostart
Normal file
@@ -0,0 +1 @@
|
||||
false
|
||||
13
collection-manager/docker-compose.override.yml
Normal file
13
collection-manager/docker-compose.override.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
services:
|
||||
koillection:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: ''
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
db:
|
||||
labels:
|
||||
net.unraid.docker.managed: 'composeman'
|
||||
net.unraid.docker.icon: ''
|
||||
net.unraid.docker.webui: ''
|
||||
net.unraid.docker.shell: ''
|
||||
30
collection-manager/docker-compose.yml
Normal file
30
collection-manager/docker-compose.yml
Normal file
@@ -0,0 +1,30 @@
|
||||
services:
|
||||
koillection:
|
||||
image: koillection/koillection
|
||||
container_name: koillection
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- 5645:80
|
||||
env_file:
|
||||
- .env
|
||||
depends_on:
|
||||
- db
|
||||
volumes:
|
||||
- /mnt/user/appdata/koillection/uploads:/uploads
|
||||
labels:
|
||||
folder.view2: "Services"
|
||||
|
||||
db:
|
||||
image: postgres:16
|
||||
container_name: db
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- POSTGRES_DB=${DB_NAME}
|
||||
- POSTGRES_USER=${DB_USER}
|
||||
- POSTGRES_PASSWORD=${DB_PASSWORD}
|
||||
volumes:
|
||||
- /mnt/user/appdata/koillection/postgresql:/var/lib/postgresql/data
|
||||
labels:
|
||||
folder.view2: "Databases"
|
||||
1
collection-manager/name
Normal file
1
collection-manager/name
Normal file
@@ -0,0 +1 @@
|
||||
collection-manager
|
||||
Reference in New Issue
Block a user