diff --git a/.gitignore b/.gitignore index 5bb18fb..1cd76c8 100644 --- a/.gitignore +++ b/.gitignore @@ -119,6 +119,9 @@ web_modules/ # Yarn Integrity file .yarn-integrity +# Bootstrap template (but not the actual .env files) +!config/.env.bootstrap.example + # dotenv environment variable files .env .env.development.local diff --git a/Screenshots/AgentMgmt.jpg b/Screenshots/AgentMgmt.jpg new file mode 100644 index 0000000..64285e0 Binary files /dev/null and b/Screenshots/AgentMgmt.jpg differ diff --git a/Screenshots/RedFlagIntro.jpg b/Screenshots/RedFlagIntro.jpg new file mode 100644 index 0000000..b669c5d Binary files /dev/null and b/Screenshots/RedFlagIntro.jpg differ diff --git a/config/.env.bootstrap.example b/config/.env.bootstrap.example new file mode 100644 index 0000000..9771b6d --- /dev/null +++ b/config/.env.bootstrap.example @@ -0,0 +1,26 @@ +# RedFlag Bootstrap Configuration +# Copy this to ./config/.env and edit the values below + +# PostgreSQL Configuration +POSTGRES_DB=redflag +POSTGRES_USER=redflag +POSTGRES_PASSWORD=CHANGE_ME_SECURE_PASSWORD + +# RedFlag Server Configuration +REDFLAG_SERVER_HOST=0.0.0.0 +REDFLAG_SERVER_PORT=8080 +REDFLAG_DB_HOST=postgres +REDFLAG_DB_PORT=5432 +REDFLAG_DB_NAME=redflag +REDFLAG_DB_USER=redflag +REDFLAG_DB_PASSWORD=CHANGE_ME_SECURE_PASSWORD + +# Admin Configuration +REDFLAG_ADMIN_USER=admin +REDFLAG_ADMIN_PASSWORD=CHANGE_ME_ADMIN_PASSWORD +REDFLAG_JWT_SECRET=CHANGE_ME_JWT_SECRET_AT_LEAST_32_CHARS_LONG + +# Token Configuration +REDFLAG_TOKEN_EXPIRY=24h +REDFLAG_MAX_TOKENS=100 +REDFLAG_MAX_SEATS=10 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 2c5af43..6526d54 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,7 @@ services: retries: 5 restart: unless-stopped env_file: + - ./config/.env.bootstrap.example - ./config/.env server: @@ -38,6 +39,7 @@ services: command: ["./redflag-server"] restart: unless-stopped env_file: + - ./config/.env.bootstrap.example - ./config/.env web: