building out the backend for DSR automation
This commit is contained in:
		
							
								
								
									
										23
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										23
									
								
								README.md
									
									
									
									
									
								
							@@ -6,17 +6,18 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Portma|
 | 
					## Portma|
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| application    | port |
 | 
					| application                                       | port |
 | 
				
			||||||
| -------------- | ---- |
 | 
					| ------------------------------------------------- | ---- |
 | 
				
			||||||
| (timetracking) wakaapi        | 2001 |
 | 
					| (timetracking) wakaapi                            | 2001 |
 | 
				
			||||||
| (analytics) metrics        | 2002 |
 | 
					| (analytics) metrics                               | 2002 |
 | 
				
			||||||
| (workout tracking) wger           | 2003 |
 | 
					| (workout tracking) wger                           | 2003 |
 | 
				
			||||||
| (youtube archiving) tube-archivist | 2004 |
 | 
					| (youtube archiving) tube-archivist                | 2004 |
 | 
				
			||||||
| (dashboard to all my local hosted apps) easy-gate     | 2005 |
 | 
					| (dashboard to all my local hosted apps) easy-gate | 2005 |
 | 
				
			||||||
| (the only editor) vscode-server  | 2006 |
 | 
					| (the only editor) vscode-server                   | 2006 |
 | 
				
			||||||
| (resume hacking) reactive-resume | 2007 |
 | 
					| (resume hacking) reactive-resume                  | 2007 |
 | 
				
			||||||
| (habit tracking) atomichabits| 2008 |
 | 
					| (habit tracking) atomichabits                     | 2008 |
 | 
				
			||||||
| (workout tracking) wael           | 2009 |
 | 
					| (workout tracking) wael                           | 2009 |
 | 
				
			||||||
 | 
					| (food tracking) cleanslate                        | 2010 |
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Secrets
 | 
					## Secrets
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,17 +21,17 @@
 | 
				
			|||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "services": [
 | 
					    "services": [
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "WAKAAPI",
 | 
					            "name": "WAKAAPI Dashboard",
 | 
				
			||||||
            "category": "",
 | 
					            "category": "",
 | 
				
			||||||
            "url": "http://tsys1:2001",
 | 
					            "url": "http://tsys1:2001",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "Metrics",
 | 
					            "name": "Metrics Dashboard",
 | 
				
			||||||
            "category": "",
 | 
					            "category": "",
 | 
				
			||||||
            "url": "http://tsys1:2002",
 | 
					            "url": "http://tsys1:2002",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            "name": "Workout Tracking",
 | 
					            "name": "wger-Workout Tracking",
 | 
				
			||||||
            "category": "",
 | 
					            "category": "",
 | 
				
			||||||
            "url": "http://tsys1:2003",
 | 
					            "url": "http://tsys1:2003",
 | 
				
			||||||
        },
 | 
					        },
 | 
				
			||||||
@@ -49,7 +49,17 @@
 | 
				
			|||||||
            "name": "Atomic Habits",
 | 
					            "name": "Atomic Habits",
 | 
				
			||||||
            "category": "",
 | 
					            "category": "",
 | 
				
			||||||
            "url": "http://tsys1:2008"
 | 
					            "url": "http://tsys1:2008"
 | 
				
			||||||
        }
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Cleanslate",
 | 
				
			||||||
 | 
					            "category": "",
 | 
				
			||||||
 | 
					            "url": "http://tsys1:2010"
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					            "name": "Influxdb",
 | 
				
			||||||
 | 
					            "category": "",
 | 
				
			||||||
 | 
					            "url": "http://tsys1:4000",
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
    ],
 | 
					    ],
 | 
				
			||||||
    "notes": [
 | 
					    "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