add atuin
This commit is contained in:
parent
931456ea3c
commit
51fef8166e
20
apps/atuin/config.json
Normal file
20
apps/atuin/config.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"$schema": "../schema.json",
|
||||
"name": "Atuin",
|
||||
"available": true,
|
||||
"exposable": true,
|
||||
"port": 8888,
|
||||
"id": "atuin",
|
||||
"tipi_version": 2,
|
||||
"version": "latest",
|
||||
"categories": [
|
||||
"utilities",
|
||||
"development"
|
||||
],
|
||||
"description": "Making your shell magical",
|
||||
"short_desc": "Magical Shell History",
|
||||
"author": "atuinsh",
|
||||
"source": "https://github.com/atuinsh/atuin",
|
||||
"form_fields": [],
|
||||
"supported_architectures": ["amd64"]
|
||||
}
|
56
apps/atuin/docker-compose.yml
Normal file
56
apps/atuin/docker-compose.yml
Normal file
|
@ -0,0 +1,56 @@
|
|||
version: "3.5"
|
||||
services:
|
||||
atuin:
|
||||
restart: always
|
||||
image: ghcr.io/atuinsh/atuin:latest
|
||||
command: server start
|
||||
volumes:
|
||||
- "./config:/config"
|
||||
links:
|
||||
- postgresql:db
|
||||
ports:
|
||||
- 8888:8888
|
||||
environment:
|
||||
ATUIN_HOST: "0.0.0.0"
|
||||
ATUIN_OPEN_REGISTRATION: "true"
|
||||
ATUIN_DB_URI: postgres://atuin:really-insecure@db/atuin
|
||||
networks:
|
||||
- tipi_main_network
|
||||
labels:
|
||||
# Main
|
||||
traefik.enable: true
|
||||
traefik.http.middlewares.atuin-web-redirect.redirectscheme.scheme: https
|
||||
traefik.http.services.atuin.loadbalancer.server.port: 8888
|
||||
# Web
|
||||
traefik.http.routers.atuin-insecure.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.atuin-insecure.entrypoints: web
|
||||
traefik.http.routers.atuin-insecure.service: atuin
|
||||
traefik.http.routers.atuin-insecure.middlewares: atuin-web-redirect
|
||||
# Websecure
|
||||
traefik.http.routers.atuin.rule: Host(`${APP_DOMAIN}`)
|
||||
traefik.http.routers.atuin.entrypoints: websecure
|
||||
traefik.http.routers.atuin.service: atuin
|
||||
traefik.http.routers.atuin.tls.certresolver: myresolver
|
||||
# Local domain
|
||||
traefik.http.routers.atuin-local-insecure.rule: Host(`atuin.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.atuin-local-insecure.entrypoints: web
|
||||
traefik.http.routers.atuin-local-insecure.service: atuin
|
||||
traefik.http.routers.atuin-local-insecure.middlewares: atuin-web-redirect
|
||||
# Local domain secure
|
||||
traefik.http.routers.atuin-local.rule: Host(`atuin.${LOCAL_DOMAIN}`)
|
||||
traefik.http.routers.atuin-local.entrypoints: websecure
|
||||
traefik.http.routers.atuin-local.service: atuin
|
||||
traefik.http.routers.atuin-local.tls: true
|
||||
|
||||
postgresql:
|
||||
image: postgres:14
|
||||
restart: unless-stopped
|
||||
volumes: # Don't remove permanent storage for index database files!
|
||||
- "./database:/var/lib/postgresql/data/"
|
||||
environment:
|
||||
POSTGRES_USER: atuin
|
||||
POSTGRES_PASSWORD: really-insecure
|
||||
POSTGRES_DB: atuin
|
||||
networks:
|
||||
- tipi_main_network
|
||||
|
5
apps/atuin/metadata/description.md
Normal file
5
apps/atuin/metadata/description.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Atuin
|
||||
|
||||
## Making your shell magical
|
||||
|
||||
Sync, search and backup shell history with Atuin
|
BIN
apps/atuin/metadata/logo.png
Normal file
BIN
apps/atuin/metadata/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user