building out the backend for DSR automation
This commit is contained in:
		@@ -7,7 +7,7 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
 | 
			
		||||
## Portma|
 | 
			
		||||
 | 
			
		||||
| application                                       | port |
 | 
			
		||||
| -------------- | ---- |
 | 
			
		||||
| ------------------------------------------------- | ---- |
 | 
			
		||||
| (timetracking) wakaapi                            | 2001 |
 | 
			
		||||
| (analytics) metrics                               | 2002 |
 | 
			
		||||
| (workout tracking) wger                           | 2003 |
 | 
			
		||||
@@ -15,8 +15,9 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
 | 
			
		||||
| (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 |
 | 
			
		||||
| (habit tracking) atomichabits                     | 2008 |
 | 
			
		||||
| (workout tracking) wael                           | 2009 |
 | 
			
		||||
| (food tracking) cleanslate                        | 2010 |
 | 
			
		||||
 | 
			
		||||
## Secrets
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -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": [
 | 
			
		||||
        {
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										35
									
								
								influxdb/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								influxdb/docker-compose.yml
									
									
									
									
									
										Normal 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:
 | 
			
		||||
		Reference in New Issue
	
	Block a user