Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

matt8707/docker-compose-rpi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

docker-compose-rpi

Strategically placed Raspberry Pi 3 Model B+ for Bluetooth communication


Notes

Setup Raspberry Pi OS Lite (32-bit)

https://www.raspberrypi.com/software/
https://en.wikipedia.org/wiki/Raspberry_Pi_OS#Release_history

Advanced options Ctrl + Shift + X

  • Enable SSH
    • Allow public-key authentication only
  • Configure wifi (2,4 GHz)
    • SSID: *******
    • Password: *************
    • Wifi country: SE
  • Set locale settings
    • Time zone: Europe/Stockholm
    • Keyboard layout: se

Docker

ssh [email protected]
sudo apt-get update -y && sudo apt-get upgrade -y
curl -sSL https://get.docker.com | sh
sudo apt install docker-compose -y
sudo gpasswd -a $USER docker
sudo reboot

Rclone

https://rclone.org/drive/

curl https://rclone.org/install.sh | sudo bash
rclone sync -i /home/pi remote:rclone

Samba

sudo apt install samba -y
<no>
sudo smbpasswd -a pi
sudo truncate -s 0 /etc/samba/smb.conf
sudo nano /etc/samba/smb.conf

smb.conf

[global]
client min protocol = SMB2
client max protocol = SMB3
vfs objects = catia fruit streams_xattr
fruit:metadata = stream
fruit:model = RackMac
fruit:posix_rename = yes
fruit:veto_appledouble = no
fruit:wipe_intentionally_left_blank_rfork = yes
fruit:delete_empty_adfiles = yes
security = user
encrypt passwords = yes
workgroup = WORKGROUP
server role = standalone server
obey pam restrictions = no
map to guest = never
[pi]
comment = Pi Directories
browseable = yes
path = /home/pi
read only = no
create mask = 0775
directory mask = 0775

CTRL+O, Enter, CTRL+X

sudo /etc/init.d/smbd restart

About

🐳 docker-compose on raspberry pi

Topics

Resources

Stars

Watchers

Forks