add stuff
This commit is contained in:
@@ -1,21 +1,18 @@
|
||||
# Geofeed Manager Environment Configuration
|
||||
# Copy this file to .env and update the values
|
||||
|
||||
# Git Repository (code is pulled on startup)
|
||||
GIT_REPO=https://git.prpl.tools/PurpleComputing/geofeed-manager.git
|
||||
GIT_BRANCH=main
|
||||
|
||||
# Cloudflare Tunnel (get token from Cloudflare Zero Trust dashboard)
|
||||
CLOUDFLARE_TUNNEL_TOKEN=your_tunnel_token_here
|
||||
|
||||
# Database Configuration
|
||||
DB_ROOT_PASSWORD=change_me_root_password
|
||||
DB_NAME=geofeed_manager
|
||||
DB_USER=geofeed
|
||||
DB_PASSWORD=change_me_user_password
|
||||
|
||||
# Port Configuration
|
||||
DB_PORT=3306
|
||||
WEB_PORT=8080
|
||||
PMA_PORT=8081
|
||||
|
||||
# BunnyCDN Configuration (for n8n workflow)
|
||||
BUNNY_STORAGE_ZONE=your-storage-zone
|
||||
BUNNY_API_KEY=your-api-key
|
||||
|
||||
@@ -40,8 +40,6 @@ services:
|
||||
volumes:
|
||||
- mariadb_data:/var/lib/mysql
|
||||
- db_init:/docker-entrypoint-initdb.d:ro
|
||||
ports:
|
||||
- "${DB_PORT:-3306}:3306"
|
||||
networks:
|
||||
- geofeed-network
|
||||
healthcheck:
|
||||
@@ -67,8 +65,6 @@ services:
|
||||
DB_NAME: ${DB_NAME:-geofeed_manager}
|
||||
DB_USER: ${DB_USER:-geofeed}
|
||||
DB_PASS: ${DB_PASSWORD:-geofeed_secret}
|
||||
ports:
|
||||
- "${WEB_PORT:-8080}:80"
|
||||
volumes:
|
||||
- webapp_code:/app:ro
|
||||
depends_on:
|
||||
@@ -77,6 +73,19 @@ services:
|
||||
networks:
|
||||
- geofeed-network
|
||||
|
||||
# Cloudflare Tunnel
|
||||
cloudflared:
|
||||
image: cloudflare/cloudflared:latest
|
||||
container_name: geofeed-tunnel
|
||||
restart: unless-stopped
|
||||
command: tunnel run
|
||||
environment:
|
||||
TUNNEL_TOKEN: ${CLOUDFLARE_TUNNEL_TOKEN}
|
||||
depends_on:
|
||||
- webapp
|
||||
networks:
|
||||
- geofeed-network
|
||||
|
||||
# Optional: phpMyAdmin for database management
|
||||
phpmyadmin:
|
||||
image: phpmyadmin:latest
|
||||
@@ -87,8 +96,6 @@ services:
|
||||
PMA_USER: ${DB_USER:-geofeed}
|
||||
PMA_PASSWORD: ${DB_PASSWORD:-geofeed_secret}
|
||||
UPLOAD_LIMIT: 64M
|
||||
ports:
|
||||
- "${PMA_PORT:-8081}:80"
|
||||
depends_on:
|
||||
mariadb:
|
||||
condition: service_healthy
|
||||
|
||||
Reference in New Issue
Block a user