Skip to content
This repository has been archived by the owner on Dec 7, 2019. It is now read-only.
/ docker-syspass Public archive

🐳 sysPass Docker image based on Alpine Linux

License

Notifications You must be signed in to change notification settings

crazy-max/docker-syspass

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

38 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Latest Version Build Status Docker Stars Docker Pulls Docker Repository on Quay Code Quality
Become a sponsor Donate Paypal

⚠️ Abandoned project

This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.

About

🐳 sysPass Docker image based on Alpine Linux and Nginx.
If you are interested, check out my other 🐳 Docker images!

πŸ’‘ Want to be notified of new releases? Check out πŸ”” Diun (Docker Image Update Notifier) project!

Features

  • OPCache enabled to store precompiled script bytecode in shared memory
  • Configuration and backups stored in a dedicated folder
  • Traefik as reverse proxy and creation/renewal of Let's Encrypt certificates
  • MariaDB image as database instance

Docker

Environment variables

  • TZ : The timezone assigned to the container (default UTC)
  • PUID : sysPass user id (default 1000)
  • PGID: sysPass group id (default 1000)
  • MEMORY_LIMIT : PHP memory limit (default 256M)
  • UPLOAD_MAX_SIZE : Upload max size (default 16M)
  • OPCACHE_MEM_SIZE : PHP OpCache memory consumption (default 128)

Volumes

  • /data : Contains configuration, cache and backups

Ports

  • 8000 : HTTP port

Use this image

Docker Compose

Docker compose is the recommended way to run this image. Copy the content of folder examples/compose in /var/syspass/ on your host for example. Edit the compose and env files with your preferences and run the following commands :

touch acme.json
chmod 600 acme.json
docker-compose up -d
docker-compose logs -f

Command line

You can also use the following commands :

docker run -d --name syspass-db \
  -e "MYSQL_ALLOW_EMPTY_PASSWORD=yes" \
  -e "MYSQL_DATABASE=syspass" \
  -e "MYSQL_USER=syspass" \
  -e "MYSQL_PASSWORD=syspass" \
  mariadb:10.2
docker run -d -p 8000:8000 --name syspass \
  --link syspass-db \
  -v $(pwd)/data:/data \
  crazymax/syspass:latest

Use syspass-db as database host in the installation wizard with this example

Notes

Installation wizard

You have to check Hosting Mode in the installation wizard to skip database and user creation if you use MariaDB's Docker image.

How can I help ?

All kinds of contributions are welcome πŸ™Œ! The most basic way to show your support is to star 🌟 the project, or to raise issues πŸ’¬ You can also support this project by becoming a sponsor on GitHub πŸ‘ or by making a Paypal donation to ensure this journey continues indefinitely! πŸš€

Thanks again for your support, it is much appreciated! πŸ™

License

MIT. See LICENSE for more details.