diff --git a/PORTAINER_DEPLOYMENT.md b/PORTAINER_DEPLOYMENT.md index 9c5eba5..36ffbad 100644 --- a/PORTAINER_DEPLOYMENT.md +++ b/PORTAINER_DEPLOYMENT.md @@ -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= 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_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= DEFAULT_FROM_EMAIL=KeepItGoing 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 diff --git a/docker-compose.yml b/docker-compose.yml index 6da451b..57cfa17 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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