Remove Tinyauth SSO middleware references from: - FreshRSS, Backrest, Booklore, Code Server - Homarr, Homepage, Karakeep, Komodo - MicroBin, RSS Bridge, RSSHub, Static Sites Services with local-only middleware now only use local-only restriction (Backrest, Code Server) without Tinyauth.
42 lines
1.1 KiB
YAML
42 lines
1.1 KiB
YAML
# code-server - VS Code in the browser with AI coding support
|
|
# Docs: https://github.com/coder/code-server
|
|
|
|
services:
|
|
code-server:
|
|
container_name: code-server
|
|
image: lscr.io/linuxserver/code-server:latest
|
|
restart: unless-stopped
|
|
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
- ./config:/config
|
|
# Mount your homelab directory for editing
|
|
- /home/eduardo_figueroa/homelab:/config/workspace/homelab
|
|
|
|
networks:
|
|
- homelab
|
|
|
|
labels:
|
|
# Traefik
|
|
traefik.enable: true
|
|
traefik.docker.network: homelab
|
|
|
|
# Web UI
|
|
traefik.http.routers.code-server.rule: Host(`code.fig.systems`)
|
|
traefik.http.routers.code-server.entrypoints: websecure
|
|
traefik.http.routers.code-server.tls.certresolver: letsencrypt
|
|
traefik.http.services.code-server.loadbalancer.server.port: 8443
|
|
|
|
# SSO Protection and restrict to local network
|
|
traefik.http.routers.code-server.middlewares: local-only
|
|
|
|
# Homarr Discovery
|
|
homarr.name: Code Server (IDE)
|
|
homarr.group: Services
|
|
homarr.icon: mdi:microsoft-visual-studio-code
|
|
|
|
networks:
|
|
homelab:
|
|
external: true
|