Internal
Public Access
Point deployment configs at current git host, strip secrets from docs
Repo moved from git.firebugit.com to git.darksingularity.org; the old host is gone, which would break both docker-compose's git build contexts and the Portainer stack setup instructions. Also removes production secret values (SECRET_KEY, DB passwords, SMTP password) that were committed in plaintext in the deployment guide. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
a2bc5de205
commit
3d99ddd1a1
+10
-11
@@ -8,7 +8,7 @@ This guide will walk you through deploying the KeepItGoing server to your Docker
|
||||
|
||||
- Portainer installed and accessible
|
||||
- Access to your Docker server via Portainer
|
||||
- Git repository: `https://git.firebugit.com/Firebug_IT/KeepItGoingServer.git`
|
||||
- Git repository: `https://git.darksingularity.org/DarkSingularity/KeepItGoingServer.git`
|
||||
- Git credentials configured in Portainer (or repository is public)
|
||||
|
||||
## Deployment Steps
|
||||
@@ -31,7 +31,7 @@ This guide will walk you through deploying the KeepItGoing server to your Docker
|
||||
|
||||
**Repository URL:**
|
||||
```
|
||||
https://git.firebugit.com/Firebug_IT/KeepItGoingServer.git
|
||||
https://git.darksingularity.org/DarkSingularity/KeepItGoingServer.git
|
||||
```
|
||||
|
||||
**Repository reference:** `refs/heads/main`
|
||||
@@ -40,17 +40,16 @@ This guide will walk you through deploying the KeepItGoing server to your Docker
|
||||
|
||||
**Authentication:**
|
||||
- If repository is private, enable authentication
|
||||
- Username: `keith@firebugit.com`
|
||||
- Password: (your Git password)
|
||||
- Or use an access token if available
|
||||
- Username: your Gitea account username
|
||||
- Password: a Gitea access token (recommended over your account password)
|
||||
|
||||
### Step 4: Configure Environment Variables
|
||||
|
||||
Scroll down to the **Environment variables** section and paste the following:
|
||||
Scroll down to the **Environment variables** section and paste the following, replacing every `<...>` placeholder with the actual value from your password manager / secrets store (never commit real values to this file):
|
||||
|
||||
```env
|
||||
# Django Core Settings
|
||||
SECRET_KEY=Zfb$!,3Gm\b,x~:a)9@k*Gun.#F{ju3dH-G8aWp4R"&NQ{1x>14v#)EbhpB*XMWD
|
||||
SECRET_KEY=<django-secret-key>
|
||||
DEBUG=False
|
||||
ALLOWED_HOSTS=keepitgoing.app,www.keepitgoing.app,localhost
|
||||
CSRF_TRUSTED_ORIGINS=https://keepitgoing.app,https://www.keepitgoing.app
|
||||
@@ -59,8 +58,8 @@ SITE_DOMAIN=keepitgoing.app
|
||||
# Database Configuration
|
||||
DB_NAME=keepitgoing
|
||||
DB_USER=keepitgoing
|
||||
DB_PASSWORD=6SWh6Pz01hBFGNzWM0Pszz2moluqxyv7
|
||||
DB_ROOT_PASSWORD=l7xF4j20HxqE2ZGNDR2FIoCCYwb6tDMq
|
||||
DB_PASSWORD=<db-password>
|
||||
DB_ROOT_PASSWORD=<db-root-password>
|
||||
DB_HOST=mariadb
|
||||
DB_PORT=3306
|
||||
|
||||
@@ -73,7 +72,7 @@ EMAIL_HOST=smtp.dreamhost.com
|
||||
EMAIL_PORT=587
|
||||
EMAIL_USE_TLS=True
|
||||
EMAIL_HOST_USER=kig@keepitgoing.app
|
||||
EMAIL_HOST_PASSWORD=Frankenmonster1!
|
||||
EMAIL_HOST_PASSWORD=<email-host-password>
|
||||
DEFAULT_FROM_EMAIL=KeepItGoing <kig@keepitgoing.app>
|
||||
SERVER_EMAIL=kig@keepitgoing.app
|
||||
|
||||
@@ -210,7 +209,7 @@ To backup the database:
|
||||
```bash
|
||||
mysqldump -u root -p keepitgoing > /tmp/backup.sql
|
||||
```
|
||||
4. Enter root password: `l7xF4j20HxqE2ZGNDR2FIoCCYwb6tDMq`
|
||||
4. Enter the `DB_ROOT_PASSWORD` value from your Portainer stack environment variables
|
||||
5. Use **File browser** to download `/tmp/backup.sql`
|
||||
|
||||
### Scaling
|
||||
|
||||
+3
-3
@@ -46,7 +46,7 @@ services:
|
||||
# =================================================================
|
||||
web:
|
||||
build:
|
||||
context: https://git.firebugit.com/Firebug_IT/KeepItGoingServer.git#main
|
||||
context: https://git.darksingularity.org/DarkSingularity/KeepItGoingServer.git#main
|
||||
dockerfile: Dockerfile
|
||||
container_name: keepitgoing-web
|
||||
restart: unless-stopped
|
||||
@@ -104,7 +104,7 @@ services:
|
||||
# =================================================================
|
||||
celery-worker:
|
||||
build:
|
||||
context: https://git.firebugit.com/Firebug_IT/KeepItGoingServer.git#main
|
||||
context: https://git.darksingularity.org/DarkSingularity/KeepItGoingServer.git#main
|
||||
dockerfile: Dockerfile
|
||||
container_name: keepitgoing-celery-worker
|
||||
restart: unless-stopped
|
||||
@@ -140,7 +140,7 @@ services:
|
||||
# =================================================================
|
||||
celery-beat:
|
||||
build:
|
||||
context: https://git.firebugit.com/Firebug_IT/KeepItGoingServer.git#main
|
||||
context: https://git.darksingularity.org/DarkSingularity/KeepItGoingServer.git#main
|
||||
dockerfile: Dockerfile
|
||||
container_name: keepitgoing-celery-beat
|
||||
restart: unless-stopped
|
||||
|
||||
Reference in New Issue
Block a user