timeboxing and moving on. it's 13:00. this is great progress.

This commit is contained in:
Charles N Wyble 2024-11-29 12:00:01 -06:00
parent 7c4fb8756f
commit 025b85e2c2
7 changed files with 28 additions and 15 deletions

View File

@ -16,6 +16,7 @@ This repo is for containers running on Charles (@ReachableCEO) laptop
| (the only editor) vscode-server | 2006 |
| (resume hacking) reactive-resume | 2007 |
| (habit tracking) atomichabits| 2008 |
| (workout tracking) wael | 2009 |
## Secrets

5
metrics/README.md Normal file
View File

@ -0,0 +1,5 @@
https://github.com/lowlighter/metrics/blob/master/.github/readme/partials/documentation/setup/web.md
Not currently working. Was working before converting to docker-compose.
Not a high priority as it can be run on demand to generate output for use when needed.

View File

@ -5,7 +5,7 @@ services:
entrypoint: ""
command: ["npm", "start"]
ports:
- "127.0.0.1:2002:3000"
- 2002:3000
volumes:
- /path/to/settings.json:/metrics/settings.json
- ./settings.json:/metrics/settings.json
restart: no

View File

@ -8,17 +8,16 @@
# Select an existing docker image tag
VERSION=latest
# Path to configured `settings.json`
SETTINGS=/path/to/settings.json
SETTINGS=./settings.json
# Port used internally (use the same one than in `settings.json`)
SERVICE_PORT=3000
# Port to publish
PUBLISHED_PORT=2002
docker run \
-d \
--rm \
--name metrics \
--name reachableceo-metrics \
--entrypoint="" \
-p=127.0.0.1:$PUBLISHED_PORT:$SERVICE_PORT \
--volume=$SETTINGS:/metrics/settings.json \
ghcr.io/lowlighter/metrics:$VERSION npm start
ghcr.io/lowlighter/metrics:$VERSION npm start

12
wael/docker-compose.yml Normal file
View File

@ -0,0 +1,12 @@
services:
wael:
container_name: reachableceo-wael
image: reachableceo-wael:latest # increment this number (or set the env value in your .env) to force portainer to rebuild the image https://github.com/portainer/portainer/issues/6288
restart: always
ports:
- "2009:3009" # Must be supplied by shell or in .env file
env_file:
- ./wael.env
volumes:
- "${HOST_DATA_PATH:-/default/path}:/workspace/prisma/data" # Must be supplied by shell or in .env file
user: node

5
wael/wael.env Normal file
View File

@ -0,0 +1,5 @@
TZ=America/Chicago
DOCKER_IMAGE_TAG=v2
HOST_DATA_PATH="D:/tsys/docker/volumes/reachableceo-wael-data/"
EXPOSE_PRISMA_STUDIO=false
PRISMA_STUDIO_PORT=5533

View File

@ -1,9 +0,0 @@
#!/bin/bash
docker run -d \
-p 2001:3000 \
-e "WAKAPI_PASSWORD_SALT=1234" \
-v wakapi-data-tsys:/data \
--restart=always \
--name wakaapi-tsys \
ghcr.io/muety/wakapi:latest