diff --git a/dev/README.md b/dev/README.md deleted file mode 100644 index 5967e47..0000000 --- a/dev/README.md +++ /dev/null @@ -1,51 +0,0 @@ -# Gitea Configuration - -## Post-Installation Setup - -After completing the Gitea installation at https://dev.pivoine.art, configure the following settings via the admin panel: - -### Enable Gravatar Avatars - -Since Gitea 1.18+, avatar settings are managed via the database, not configuration files: - -1. Log in as admin -2. Go to **Site Administration** (top right menu) -3. Navigate to **Configuration** → **Picture** -4. Enable **Use Gravatar for avatars** -5. Optionally set **Gravatar Source** to `https://secure.gravatar.com/avatar/` -6. Save settings - -### Runner Registration - -To enable the Gitea Actions runner: - -1. Go to **Site Administration** → **Actions** → **Runners** -2. Click **Create new Runner** -3. Copy the registration token -4. Add to `.env`: `DEV_GITEA_RUNNER_TOKEN=` -5. Restart services: `ssh -A root@vps "cd ~/Projects/docker-compose && arty up -d"` - -## Custom Themes - -**Default Theme:** `gitea-dark` (built-in Gitea dark theme) - -21 custom themes from [sainnhe/gitea-themes](https://git.sainnhe.dev/sainnhe/gitea-themes) are available for manual selection: - -- Edge (auto, dark, light) -- Everforest (auto, dark, light) -- Gruvbox (auto, dark, light) -- Gruvbox Material (auto, dark, light) -- Nord, Palenight, Soft Era -- Sonokai (base + 5 variants) - -Users can select their preferred theme in **Settings** → **Appearance**. - -**Note:** Custom themes may not load as default theme due to Gitea's theme loading mechanism. They remain available for manual selection by users. - -## Custom Logo & Favicon - -Custom logo and favicon are mounted from `dev/custom/public/assets/img/`: -- `favicon.svg` - Browser favicon -- `logo.svg` - Gitea logo - -To update, replace the SVG files and restart Gitea. diff --git a/dev/compose.yaml b/dev/compose.yaml index 51a4e7f..d37c66a 100644 --- a/dev/compose.yaml +++ b/dev/compose.yaml @@ -11,7 +11,7 @@ services: - gitea_config:/etc/gitea - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - - ./custom:/data/gitea/custom:ro + - ./public:/data/gitea/public:ro environment: TZ: ${TIMEZONE:-Europe/Berlin} USER_UID: 1000 diff --git a/dev/custom/public/assets/css/theme-edge-auto.css b/dev/public/assets/css/theme-edge-auto.css similarity index 100% rename from dev/custom/public/assets/css/theme-edge-auto.css rename to dev/public/assets/css/theme-edge-auto.css diff --git a/dev/custom/public/assets/css/theme-edge-dark.css b/dev/public/assets/css/theme-edge-dark.css similarity index 100% rename from dev/custom/public/assets/css/theme-edge-dark.css rename to dev/public/assets/css/theme-edge-dark.css diff --git a/dev/custom/public/assets/css/theme-edge-light.css b/dev/public/assets/css/theme-edge-light.css similarity index 100% rename from dev/custom/public/assets/css/theme-edge-light.css rename to dev/public/assets/css/theme-edge-light.css diff --git a/dev/custom/public/assets/css/theme-everforest-auto.css b/dev/public/assets/css/theme-everforest-auto.css similarity index 100% rename from dev/custom/public/assets/css/theme-everforest-auto.css rename to dev/public/assets/css/theme-everforest-auto.css diff --git a/dev/custom/public/assets/css/theme-everforest-dark.css b/dev/public/assets/css/theme-everforest-dark.css similarity index 100% rename from dev/custom/public/assets/css/theme-everforest-dark.css rename to dev/public/assets/css/theme-everforest-dark.css diff --git a/dev/custom/public/assets/css/theme-everforest-light.css b/dev/public/assets/css/theme-everforest-light.css similarity index 100% rename from dev/custom/public/assets/css/theme-everforest-light.css rename to dev/public/assets/css/theme-everforest-light.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-auto.css b/dev/public/assets/css/theme-gruvbox-auto.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-auto.css rename to dev/public/assets/css/theme-gruvbox-auto.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-dark.css b/dev/public/assets/css/theme-gruvbox-dark.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-dark.css rename to dev/public/assets/css/theme-gruvbox-dark.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-light.css b/dev/public/assets/css/theme-gruvbox-light.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-light.css rename to dev/public/assets/css/theme-gruvbox-light.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-material-auto.css b/dev/public/assets/css/theme-gruvbox-material-auto.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-material-auto.css rename to dev/public/assets/css/theme-gruvbox-material-auto.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-material-dark.css b/dev/public/assets/css/theme-gruvbox-material-dark.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-material-dark.css rename to dev/public/assets/css/theme-gruvbox-material-dark.css diff --git a/dev/custom/public/assets/css/theme-gruvbox-material-light.css b/dev/public/assets/css/theme-gruvbox-material-light.css similarity index 100% rename from dev/custom/public/assets/css/theme-gruvbox-material-light.css rename to dev/public/assets/css/theme-gruvbox-material-light.css diff --git a/dev/custom/public/assets/css/theme-nord.css b/dev/public/assets/css/theme-nord.css similarity index 100% rename from dev/custom/public/assets/css/theme-nord.css rename to dev/public/assets/css/theme-nord.css diff --git a/dev/custom/public/assets/css/theme-palenight.css b/dev/public/assets/css/theme-palenight.css similarity index 100% rename from dev/custom/public/assets/css/theme-palenight.css rename to dev/public/assets/css/theme-palenight.css diff --git a/dev/custom/public/assets/css/theme-soft-era.css b/dev/public/assets/css/theme-soft-era.css similarity index 100% rename from dev/custom/public/assets/css/theme-soft-era.css rename to dev/public/assets/css/theme-soft-era.css diff --git a/dev/custom/public/assets/css/theme-sonokai-andromeda.css b/dev/public/assets/css/theme-sonokai-andromeda.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai-andromeda.css rename to dev/public/assets/css/theme-sonokai-andromeda.css diff --git a/dev/custom/public/assets/css/theme-sonokai-atlantis.css b/dev/public/assets/css/theme-sonokai-atlantis.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai-atlantis.css rename to dev/public/assets/css/theme-sonokai-atlantis.css diff --git a/dev/custom/public/assets/css/theme-sonokai-espresso.css b/dev/public/assets/css/theme-sonokai-espresso.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai-espresso.css rename to dev/public/assets/css/theme-sonokai-espresso.css diff --git a/dev/custom/public/assets/css/theme-sonokai-maia.css b/dev/public/assets/css/theme-sonokai-maia.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai-maia.css rename to dev/public/assets/css/theme-sonokai-maia.css diff --git a/dev/custom/public/assets/css/theme-sonokai-shusia.css b/dev/public/assets/css/theme-sonokai-shusia.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai-shusia.css rename to dev/public/assets/css/theme-sonokai-shusia.css diff --git a/dev/custom/public/assets/css/theme-sonokai.css b/dev/public/assets/css/theme-sonokai.css similarity index 100% rename from dev/custom/public/assets/css/theme-sonokai.css rename to dev/public/assets/css/theme-sonokai.css diff --git a/dev/custom/public/assets/img/favicon.svg b/dev/public/assets/img/favicon.svg similarity index 100% rename from dev/custom/public/assets/img/favicon.svg rename to dev/public/assets/img/favicon.svg diff --git a/dev/custom/public/assets/img/logo.svg b/dev/public/assets/img/logo.svg similarity index 100% rename from dev/custom/public/assets/img/logo.svg rename to dev/public/assets/img/logo.svg