Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding: LinkAce #1181

Merged
merged 10 commits into from
Nov 29, 2024
117 changes: 117 additions & 0 deletions public/v4/apps/linkace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,117 @@
captainVersion: 4
services:
$$cap_appname:
restart: always
depends_on:
- $$cap_appname-db
environment:
COMPOSE_PROJECT_NAME: $$cap_appname
APP_URL: http://$$cap_appname.$$cap_root_domain
APP_KEY: $$cap_gen_random_hex(32)
DB_CONNECTION: mysql
DB_HOST: srv-captain--$$cap_appname-db
DB_PORT: 3306
DB_DATABASE: $$cap_linkace_db_name
DB_USERNAME: $$cap_linkace_db_user
DB_PASSWORD: $$cap_linkace_db_pass
SESSION_DRIVER: redis
CACHE_DRIVER: redis
REDIS_HOST: srv-captain--$$cap_appname-redis
REDIS_PASSWORD: $$cap_linkace_redis_pass
REDIS_PORT: 6379
MAIL_DRIVER: smtp
MAIL_HOST: $$cap_linkace_mail_host
MAIL_PORT: $$cap_linkace_mail_port
MAIL_USERNAME: $$cap_linkace_mail_username
MAIL_PASSWORD: $$cap_linkace_mail_password
MAIL_ENCRYPTION: $$cap_linkace_mail_encryption
MAIL_FROM_ADDRESS: $$cap_linkace_mail_from_address
MAIL_FROM_NAME: $$cap_linkace_mail_from_name
caproverExtra:
containerHttpPort: '80'
dockerfileLines:
- FROM linkace/linkace:$$cap_sw_version-simple
- RUN chmod 666 /app/.env
volumes:
- $$cap_appname-data:/app
$$cap_appname-db:
image: mariadb:11.4.4
restart: always
depends_on:
- $$cap_appname-redis
environment:
MYSQL_ROOT_PASSWORD: $$cap_gen_random_hex(32)
MYSQL_DATABASE: $$cap_linkace_db_name
MYSQL_USER: $$cap_linkace_db_user
MYSQL_PASSWORD: $$cap_linkace_db_pass
volumes:
- $$cap_appname-db:/var/lib/mysql
caproverExtra:
notExposeAsWebApp: 'true'
$$cap_appname-redis:
image: bitnami/redis:$$cap_linkace_redis_version
restart: unless-stopped
environment:
REDIS_PASSWORD: $$cap_linkace_redis_pass
caproverExtra:
notExposeAsWebApp: 'true'
caproverOneClickApp:
variables:
- id: $$cap_sw_version
label: LinkAce Version
defaultValue: 'v1.15.4'
description: Check out their Docker Hub page for the valid tags https://hub.docker.com/r/linkace/linkace/tags. Do NOT use `-simple` tags, suffix is added automatically.
- id: $$cap_linkace_db_user
label: Database User
defaultValue: linkace
description: Database user for LinkAce
- id: $$cap_linkace_db_pass
label: Database Password
defaultValue: $$cap_gen_random_hex(32)
description: Database password for LinkAce
- id: $$cap_linkace_db_name
label: Database Name
defaultValue: linkace
description: Database name for LinkAce
- id: $$cap_linkace_redis_version
label: Redis Version
defaultValue: '7.2'
description: Check out their Docker Hub page for the valid tags https://hub.docker.com/_/redis/tags
- id: $$cap_linkace_redis_pass
label: Redis Password
defaultValue: $$cap_gen_random_hex(32)
description: Redis password for LinkAce
- id: $$cap_linkace_mail_host
label: Mail Host
defaultValue: smtp.example.com
description: SMTP server hostname
- id: $$cap_linkace_mail_port
label: Mail Port
defaultValue: '465'
description: SMTP server port
- id: $$cap_linkace_mail_username
label: Mail Username
defaultValue:
description: SMTP server username
- id: $$cap_linkace_mail_password
label: Mail Password
defaultValue:
description: SMTP server password
- id: $$cap_linkace_mail_encryption
label: Mail Encryption
defaultValue: ssl
description: SMTP server encryption
- id: $$cap_linkace_mail_from_address
label: Mail From Address
defaultValue:
description: Email address to send emails from
- id: $$cap_linkace_mail_from_name
label: Mail From Name
defaultValue:
description: Name to send emails from
instructions:
start: LinkAce is a self-hosted tool for effortlessly archiving, organizing, and sharing your favorite web links. With a clean interface, you can save articles, bookmark tools, and preserve important content long-term. Easily categorize and retrieve your links, or share your collection with others.
end: LinkAce is successfully deployed.
displayName: LinkAce
description: LinkAce is a self-hosted tool for effortlessly archiving, organizing, and sharing your favorite web links.
documentation: See https://hub.docker.com/r/linkace/linkace/tags for tags and other variables
Binary file added public/v4/logos/linkace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.