After having a raspberry pi 1 model B without being used for too long, I tried to rescue it with some lightweight software.
Which software will not be a waste of energy to having the raspberry pi on every day? Well, we have the default passwords managers like google, apple cloud or others, but what about having a private one?
So I decided to get teampass running into my raspberry pi
Software
To be easier and less system intrusive, I decided to create a docker from the teampass v2 for armv6 devices. Here is my repository and here the original instructions.
You need to have it with another DB docker. The docker-compose will create two folder with the teampass software and another with the DB.
Here is the docker-compose. Edit the usernames and passwords. When asked for the DB, use the docker compone name db:
version: "3"
services:
web:
image: ghcr.io/cumal/rpi-teampass:arm
restart: always
environment:
VIRTUAL_HOST: localhost
VIRTUAL_PORT: 80
CERT_NAME: YOUR_CERTIFICATE
GIT_TAG: 2.1.27.36
volumes:
- ./teampass-html:/var/www/html
# uncomment ports to use without proxy
ports:
- 8899:80
depends_on:
- db
db:
restart: always
image: webhippie/mariadb:latest-arm
environment:
MARIADB_ROOT_USERNAME: root
MARIADB_ROOT_PASSWORD: {{YOURPASSWORD}}
MARIADB_DATABASE: teampass
MARIADB_PASSWORD: {{YOURPASSWORD}}
MARIADB_USERNAME: teampass
PUID: 1000
GUID: 1000
volumes:
- ./teampass-db/mysql:/var/lib/m
Once the dockers are running, go to https://localhost/ to configure it