mirror of
https://github.com/ChrispyBacon-dev/DockFlare.git
synced 2026-04-28 03:39:32 +00:00
- Install Node.js and npm in Dockerfile for Tailwind CSS compilation - Copy Tailwind CSS files and build CSS during Docker image creation - Update docker-compose.yml to support dynamic BASE_URL for CSS loading - Remove deprecated BASE_URL configuration from env.example - Delete unused dockflare.css file and integrate Tailwind CSS directly - Update status_page.html to load compiled Tailwind CSS with CDN fallback - Create main.css for Tailwind directives and custom styles - Add tailwind.config.js for Tailwind configuration
25 lines
No EOL
819 B
YAML
25 lines
No EOL
819 B
YAML
version: '3.8'
|
|
services:
|
|
cloudflare-tunnel-manager:
|
|
build: . # for building local docker image
|
|
container_name: dockflare
|
|
# image: alplat/dockflare:stable # The pre-built Docker image (`alplat/dockflare:stable`) is currently only available for `x86_64` / `amd64` architectures.
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5000:5000"
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- dockflare_data:/app/data
|
|
networks:
|
|
- cloudflare-net
|
|
environment:
|
|
- STATE_FILE_PATH=/app/data/state.json
|
|
- TZ=Europe/Zurich # Set the timezone to Zurich
|
|
- BASE_URL=${BASE_URL:-http://localhost:5000} # Add BASE_URL for proper CSS loading behind reverse proxy
|
|
volumes:
|
|
dockflare_data:
|
|
networks:
|
|
cloudflare-net:
|
|
name: cloudflare-net |