building out the backend for DSR automation

This commit is contained in:
Charles N Wyble 2024-11-30 08:44:56 -06:00
parent ce8a6edd54
commit 22bc3286ff
3 changed files with 61 additions and 15 deletions

View File

@ -6,17 +6,18 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
## Portma|
| application | port |
| -------------- | ---- |
| (timetracking) wakaapi | 2001 |
| (analytics) metrics | 2002 |
| (workout tracking) wger | 2003 |
| (youtube archiving) tube-archivist | 2004 |
| (dashboard to all my local hosted apps) easy-gate | 2005 |
| (the only editor) vscode-server | 2006 |
| (resume hacking) reactive-resume | 2007 |
| (habit tracking) atomichabits| 2008 |
| (workout tracking) wael | 2009 |
| application | port |
| ------------------------------------------------- | ---- |
| (timetracking) wakaapi | 2001 |
| (analytics) metrics | 2002 |
| (workout tracking) wger | 2003 |
| (youtube archiving) tube-archivist | 2004 |
| (dashboard to all my local hosted apps) easy-gate | 2005 |
| (the only editor) vscode-server | 2006 |
| (resume hacking) reactive-resume | 2007 |
| (habit tracking) atomichabits | 2008 |
| (workout tracking) wael | 2009 |
| (food tracking) cleanslate | 2010 |
## Secrets

View File

@ -21,17 +21,17 @@
],
"services": [
{
"name": "WAKAAPI",
"name": "WAKAAPI Dashboard",
"category": "",
"url": "http://tsys1:2001",
},
{
"name": "Metrics",
"name": "Metrics Dashboard",
"category": "",
"url": "http://tsys1:2002",
},
{
"name": "Workout Tracking",
"name": "wger-Workout Tracking",
"category": "",
"url": "http://tsys1:2003",
},
@ -49,7 +49,17 @@
"name": "Atomic Habits",
"category": "",
"url": "http://tsys1:2008"
}
},
{
"name": "Cleanslate",
"category": "",
"url": "http://tsys1:2010"
},
{
"name": "Influxdb",
"category": "",
"url": "http://tsys1:4000",
},
],
"notes": [
{

View File

@ -0,0 +1,35 @@
# compose.yaml
services:
influxdb2:
image: influxdb:2
container_name: reachableceo-influxdb
ports:
- 4000:8086
environment:
DOCKER_INFLUXDB_INIT_MODE: setup
DOCKER_INFLUXDB_INIT_USERNAME_FILE: /run/secrets/influxdb2-admin-username
DOCKER_INFLUXDB_INIT_PASSWORD_FILE: /run/secrets/influxdb2-admin-password
DOCKER_INFLUXDB_INIT_ADMIN_TOKEN_FILE: /run/secrets/influxdb2-admin-token
DOCKER_INFLUXDB_INIT_ORG: docs
DOCKER_INFLUXDB_INIT_BUCKET: home
secrets:
- influxdb2-admin-username
- influxdb2-admin-password
- influxdb2-admin-token
volumes:
- type: volume
source: influxdb2-data
target: /var/lib/influxdb2
- type: volume
source: influxdb2-config
target: /etc/influxdb2
secrets:
influxdb2-admin-username:
file: $HOME/.env/influxdb2/admin-username
influxdb2-admin-password:
file: $HOME/.env/influxdb2/admin-password
influxdb2-admin-token:
file: $HOME/.env/influxdb2/admin-token
volumes:
influxdb2-data:
influxdb2-config: