Copyparty Docker quick setup
Create directory and enter it. /home/USER/Copyparty Create docker-compose.yml, change /cfg and /w (share) path in volumes section.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
services: copyparty: image: copyparty/ac:latest container_name: copyparty user: "1000:1000" ports: - 3923:3923 volumes: - /home/USER/Copyparty/data:/cfg:z - /mnt/TOP_DIR_TO_SHARE/:/w:z environment: LD_PRELOAD: /usr/lib/libmimalloc-secure.so.NOPE # enable mimalloc by replacing "NOPE" with "2" for a nice speed-boost (will use twice as much ram) PYTHONUNBUFFERED: 1 # ensures log-messages are not delayed (but can reduce speed a tiny bit) stop_grace_period: 15s # thumbnailer is allowed to continue finishing up for 10s after the shutdown signal healthcheck: # hide it from logs with "/._" so it matches the default --lf-url filter. test: ["CMD-SHELL", "wget --spider -q 127.0.0.1:3923/?reset=/._"] interval: 1m timeout: 2s retries: 5 start_period: 15s |
Create data directory /home/USER/Copyparty/data In data directory, create some_config.conf, change [accounts] section
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
# not actually YAML but lets pretend: # -*- mode: yaml -*- # vim: ft=yaml: # append some arguments to the commandline; # accepts anything listed in --help (leading dashes are optional) # and inline comments are OK if there is 2 spaces before the '#' [global] # p: 8086, 3939 # listen on ports 8086 and 3939 e2dsa # enable file indexing and filesystem scanning e2ts # and enable multimedia indexing # z, qr # and zeroconf and qrcode (you can comma-separate arguments) # create users: [accounts] USERNAME: 123 # username: password # create volumes: [/] # create a volume at "/" (the webroot), which will . # share the contents of "." (the current directory) accs: r: * # everyone gets read-access, but rw: USERNAME # the user "USERNAME" gets read-write |
Update/run script update.sh
1 2 3 4 5 6 7 8 9 10 11 |
echo Stopping Copyparty... sudo docker stop copyparty echo Pulling new images... sudo docker pull copyparty/ac:latest echo Prunning unused images... sudo docker image prune -f echo Prunning unused containers... sudo docker container prune -f echo Running Copyparty... cd /home/USER/Copyparty sudo docker compose up -d |
Run the script and check if the site works by navigating to: http://IP_OR_DOMAIN:3923
HomeAssistant Voice Assist ecosystem docker-compose.yml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
networks: network-voiceAssist: driver: bridge services: ## whisper whisper-voiceAssist: container_name: whisper-voiceAssist image: rhasspy/wyoming-whisper command: --model tiny-int8 --language en volumes: - /home/czupak/VoiceAssist/Whisper:/data environment: - TZ=Europe/Warsaw restart: unless-stopped networks: - network-voiceAssist ports: - 10300:10300 ### piper piper-voiceAssist: container_name: piper-voiceAssist image: rhasspy/wyoming-piper command: --voice en_US-amy-medium volumes: - /home/czupak/VoiceAssist/Piper:/data environment: - TZ=Europe/Warsaw restart: unless-stopped ports: - 10200:10200 networks: - network-voiceAssist ### OpenWakeWord openWakeWord-voiceAssist: container_name: openWakeWord-voiceAssist image: rhasspy/wyoming-openwakeword command: --preload-model 'ok_nabu' volumes: - /home/czupak/VoiceAssist/OpenWakeWord:/data environment: - TZ=Europe/Warsaw restart: unless-stopped ports: - 10400:10400 networks: - network-voiceAssist expose: - 10400 ### Satellite my-satellite: image: sker65/wyoming-satellite container_name: my-satellite ports: - 10700:10700 networks: - network-voiceAssist devices: - /dev/snd:/dev/snd group_add: - audio restart: unless-stopped command: > --vad --vad-trigger-level 1 --vad-threshold 0.6 --debug --uri 'tcp://0.0.0.0:10700' --wake-word-name 'ok_nabu' --mic-command "arecord -D plughw:CARD=MS -r 16000 -c 1 -f S16_LE -t raw" --snd-command "aplay -D plughw:CARD=MS -r 22050 -c 1 -f S16_LE -t raw" |
Raspberry Pi Models
Polymer Shrinkage Rates
Source: https://www.youtube.com/watch?v=I52dAzPiIP8
Storage Systems
Gridfinity Honey Comb Storage Wall
TPU Shore Scale of hardness
95A is the most commonly available. Others are hard to find and are more expensive.
Dungeons and Dragons minis, props and utilities for 3D Print
Bed Condition Indicators Extendable Platform for miniatures Initiative Tracker Range Props/Rulers Skulls Tiles / Walls Tree Stump
Gridfinity by Zack Freedman (modular storage system) – Master Collection
Gridfinity by Zack Freedman – Master Collection Outstanding modular storage system. Universal with plenty of modules. https://www.printables.com/pl/model/242711-gridfinity-master-collection
Parts
Bearings Most commonly used: 608 Fans Naming convention: $side_width_in_mm$thickness_in_mm For example: 4010 – 40mm x 40mm x 10mm (i.e. 3D printer parts, Sunlu Dryer) 4020 – 40mm x 40mm x 20mm (i.e. 3D printer parts) Magnets Dimensions: diameter x width Most commonly used (spherical): 6mm x 2mm (Gridfinity) 5mm x 2mm (OpenForge) 4mm x 2mm […]
Modular Fantasy Lantern
Beautiful design with plenty of styles. I used it with Bambu LED Kit 001.