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_USER=lukas
POSTGRES_PASSWORD=kralovna POSTGRES_PASSWORD=kralovna
POSTGRES_PORT=5432 POSTGRES_PORT=5432
MYSQL_SERVER=mariadb
MYSQL_USER=lukas MYSQL_USER=lukas
MYSQL_PASSWORD=kralovna MYSQL_PASSWORD=kralovna
MYSQL_ROOT_PASSWORD=kralovna MYSQL_ROOT_PASSWORD=kralovna
MYSQL_PORT=3306
PUID=1000 PUID=1000
PGID=100 PGID=100
KAVITA_INTERNAL_PORT=5000 KAVITA_INTERNAL_PORT=5000
@ -94,3 +96,5 @@ GITEA_WEBUI_EXTERNAL_PORT=3002
GITEA_WEBUI_INTERNAL_PORT=3000 GITEA_WEBUI_INTERNAL_PORT=3000
GITEA_SSH_EXTERNAL_PORT=2022 GITEA_SSH_EXTERNAL_PORT=2022
GITEA_SSH_INTERNAL_PORT=22 GITEA_SSH_INTERNAL_PORT=22
LINKACE_EXTERNAL_PORT=8084
LINKACE_INTERNAL_PORT=80

View File

@ -693,8 +693,6 @@ services:
profiles: profiles:
- base - base
- infra - infra
gitea: gitea:
container_name: gitea container_name: gitea
@ -728,6 +726,34 @@ services:
- base - base
- infra - infra
restart: unless-stopped 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: networks:

3
linkace.env Normal file
View File

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