This project is not maintained anymore and is abandoned. Feel free to fork and make your own changes if needed.
π³ 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!
- 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
TZ
: The timezone assigned to the container (defaultUTC
)PUID
: sysPass user id (default1000
)PGID
: sysPass group id (default1000
)MEMORY_LIMIT
: PHP memory limit (default256M
)UPLOAD_MAX_SIZE
: Upload max size (default16M
)OPCACHE_MEM_SIZE
: PHP OpCache memory consumption (default128
)
/data
: Contains configuration, cache and backups
8000
: HTTP port
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
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
You have to check Hosting Mode in the installation wizard to skip database and user creation if you use MariaDB's Docker image.
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! π
MIT. See LICENSE
for more details.