Teampass

Password manager dedicated for managing passwords in a collaborative way. One symmetric key is used to encrypt all shared/team passwords and stored server side in a file and the database. works on any server Apache, MySQL and PHP.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: "3"
services:
  nginx:
    image: jwilder/nginx-proxy:alpine
    restart: unless-stopped
    networks:
      - frontend
      - backend
    ports:
      - "443:443"
    volumes:
      - ./ssl:/etc/nginx/certs
      - /var/run/docker.sock:/tmp/docker.sock:ro
 
  teampass-web:
    image: dormancygrace/teampass:latest
    restart: unless-stopped
    environment:
      VIRTUAL_HOST: YOUR_HOSTNAME
      VIRTUAL_PORT: 80
      # uncomment if certificate's file name doesn't match VIRTUAL_HOST
      #CERT_NAME: YOUR_CERTIFICATE
    volumes:
      - ./teampass-html:/var/www/html
    # uncomment ports to use without proxy
    #ports:
    #  - 80:80
    networks:
      - teampass-internal
      - backend
    depends_on:
      - db
  db:
    restart: unless-stopped
    image: yobasystems/alpine-mariadb:latest
    environment:
      MYSQL_ROOT_PASSWORD: YOUR_SUPERSECRET_PASSWORD
      MYSQL_DATABASE: teampass
      MYSQL_PASSWORD: YOUR_SECRET_PASSWORD
      MYSQL_USER: teampass
    volumes:
      - ./teampass-db:/var/lib/mysql
    networks:
      - teampass-internal
 
networks:
  frontend:
  backend:
    external: true
  teampass-internal:

Resources

Website: https://teampass.net/

GitHub: https://github.com/nilsteampassnet/TeamPass

Docker Hub: https://hub.docker.com/r/teampass/teampass

Configuration: https://github.com/nilsteampassnet/TeamPass#documentation