1
0
Fork 0

linkace: add

This commit is contained in:
Lukáš Kucharczyk 2023-09-15 13:17:14 +02:00
parent b75a45c02e
commit adeec89fd9
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
3 changed files with 35 additions and 2 deletions

4
.env
View File

@ -19,9 +19,11 @@ POSTGRES_HOST=postgres
POSTGRES_USER=lukas
POSTGRES_PASSWORD=kralovna
POSTGRES_PORT=5432
MYSQL_SERVER=mariadb
MYSQL_USER=lukas
MYSQL_PASSWORD=kralovna
MYSQL_ROOT_PASSWORD=kralovna
MYSQL_PORT=3306
PUID=1000
PGID=100
KAVITA_INTERNAL_PORT=5000
@ -94,3 +96,5 @@ GITEA_WEBUI_EXTERNAL_PORT=3002
GITEA_WEBUI_INTERNAL_PORT=3000
GITEA_SSH_EXTERNAL_PORT=2022
GITEA_SSH_INTERNAL_PORT=22
LINKACE_EXTERNAL_PORT=8084
LINKACE_INTERNAL_PORT=80

View File

@ -694,8 +694,6 @@ services:
- base
- infra
gitea:
container_name: gitea
image: ${REGISTRY_URL}/gitea:latest
@ -729,6 +727,34 @@ services:
- infra
restart: unless-stopped
linkace:
image: linkace/linkace:simple
container_name: linkace
networks:
- public
- mariadb
- redis
env_file:
- linkace.env
environment:
- DB_CONNECTION=mysql
- DB_HOST=${MYSQL_SERVER}
- DB_PORT=${MYSQL_PORT}
- DB_DATABASE=${LINKACE_DB}
- DB_USERNAME=${LINKACE_DB_USERNAME}
- DB_PASSWORD=${LINKACE_DB_PASSWORD}
- REDIS_HOST=redis
depends_on:
- mariadb
- redis
ports:
- "${LINKACE_EXTERNAL_PORT}:${LINKACE_INTERNAL_PORT}"
volumes:
- ${DOCKER_STORAGE_PATH}/linkace/backups:/app/storage/app/backups
restart: unless-stopped
profiles:
- base
networks:
loki:

3
linkace.env Normal file
View File

@ -0,0 +1,3 @@
LINKACE_DB=linkace
LINKACE_DB_USERNAME=linkace
LINKACE_DB_PASSWORD=zghhRS&FdK6niiJg5Q5Nr3E4