daily:2022-02-04
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| daily:2022-02-04 [2022/02/04 15:33] – created chrisbolas | daily:2022-02-04 [2022/02/04 19:19] (current) – [2022-02-04] chrisbolas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== 2022-02-04 ====== | ====== 2022-02-04 ====== | ||
| + | |||
| + | * Back to thinking about docker containers. My container needs to do a few things. | ||
| + | * Assume rails application data is in /opt/app | ||
| + | * /opt/app is actually a volume set up in docker-compose | ||
| + | * Get an environment variable for the SERVER_PORT to differentiate at the proxy level | ||
| + | * Get the db URL from environment variable DATABASE_URL | ||
| + | * Get PUID and PGID environment variables for user_id and group_id for new user to not screw up permissions in the volume | ||
| + | ===== Heap: ===== | ||
| + | |||
| ===== Leon Noel #100Devs ===== | ===== Leon Noel #100Devs ===== | ||
| - | * 2 real ways to remember | + | * 2 real ways to **__LEARN__** |
| * Active Recall | * Active Recall | ||
| * After each segment, explain to yourself what you've learned | * After each segment, explain to yourself what you've learned | ||
| Line 9: | Line 18: | ||
| * This leads into easy active recall as you go | * This leads into easy active recall as you go | ||
| * Also allows easy card creation for Anki | * Also allows easy card creation for Anki | ||
| - | ===== Misc: ===== | ||
| - | |||
| - | ===== Heap: ===== | ||
| - | |||
daily/2022-02-04.1643988823.txt.gz · Last modified: 2022/02/04 15:33 by chrisbolas
