linkace: add
This commit is contained in:
parent
b75a45c02e
commit
adeec89fd9
4
.env
4
.env
|
@ -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
|
|
@ -693,8 +693,6 @@ services:
|
|||
profiles:
|
||||
- base
|
||||
- infra
|
||||
|
||||
|
||||
|
||||
gitea:
|
||||
container_name: gitea
|
||||
|
@ -728,6 +726,34 @@ services:
|
|||
- base
|
||||
- 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:
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
LINKACE_DB=linkace
|
||||
LINKACE_DB_USERNAME=linkace
|
||||
LINKACE_DB_PASSWORD=zghhRS&FdK6niiJg5Q5Nr3E4
|
Loading…
Reference in New Issue