Skip to content

Commit

Permalink
migrate to trilium next
Browse files Browse the repository at this point in the history
pull separate stack out of larger core stack.
  • Loading branch information
mzrimsek committed Nov 15, 2024
1 parent 4a58d01 commit eb807ea
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 26 deletions.
4 changes: 2 additions & 2 deletions services/trilium/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
version: '3'
version: "3"

services:
trilium:
container_name: trilium
image: zadam/trilium
image: triliumnext/notes:latest
environment:
- TRILIUM_DATA_DIR=/data
ports:
Expand Down
26 changes: 26 additions & 0 deletions services/trilium/traefik.docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: "3"

services:
trilium:
container_name: trilium
image: triliumnext/notes:latest
environment:
- TRILIUM_DATA_DIR=/data
- USER_UID=${PUID}
- USER_GID=${PGID}
volumes:
- ${CONFIG_DIR}/trilium:/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.trilium.rule=Host(`${APP_URL}`)"
- "traefik.http.routers.trilium.entrypoints=websecure"
- "traefik.http.routers.trilium.tls.certresolver=tlsresolver"
- "traefik.http.services.trilium.loadbalancer.server.port=8080"
- "traefik.http.routers.trilium.middlewares=authelia@docker"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped

networks:
public:
external:
name: ${TRAEFIK_PUBLIC_NETWORK}
2 changes: 0 additions & 2 deletions stacks/core/infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ All the services deployed on the NAS in one stack. Services that live on the NAS
- Mylar3 - Comic torrent management
- Bazarr - Subtitle Management
- Jellyseerr - Streamlines requests to Sonarr and Radarr for a Jellyfin library
- Trilium - Knowledge-base and note taking
- Mosquitto - Lightweight MQTT server
- Duplicati - Remote file backup
- OpenLDAP - Open source LDAP server for centralized user & group management
Expand Down Expand Up @@ -60,7 +59,6 @@ All the services deployed on the NAS in one stack. Services that live on the NAS
| PGADMIN_DEFAULT_EMAIL | PgAdmin default user email |
| PGADMIN_DEFAULT_PASSWORD | PgAdmin default user password |
| PGADMIN_URL | Subdomain to route to PgAdmin database management dashboard |
| TRILIUM_URL | Subdomain to route to Trilium knowledge-base |
| PROWLARR_URL | Subdomain to route to torrent indexer management interface |
| SONARR_URL | Subdomain to route to tv show torrent management interface |
| RADARR_URL | Subdomain to route to movie torrent management interface |
Expand Down
22 changes: 0 additions & 22 deletions stacks/core/infrastructure/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -271,28 +271,6 @@ services:
- TZ=${TIMEZONE}
restart: unless-stopped

## NOTES MANAGEMENT

# knowledgebase
trilium:
container_name: trilium
image: zadam/trilium:latest
environment:
- TRILIUM_DATA_DIR=/data
- USER_UID=${PUID}
- USER_GID=${PGID}
volumes:
- ${CONFIG_DIR}/trilium:/data
labels:
- "traefik.enable=true"
- "traefik.http.routers.trilium.rule=Host(`${TRILIUM_URL}`)"
- "traefik.http.routers.trilium.entrypoints=websecure"
- "traefik.http.routers.trilium.tls.certresolver=tlsresolver"
- "traefik.http.routers.trilium.middlewares=authelia@docker"
- "traefik.http.services.trilium.loadbalancer.server.port=8080"
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped

## MEDIA MANAGEMENT

#indexer management
Expand Down

0 comments on commit eb807ea

Please sign in to comment.