Code Monkey home page Code Monkey logo

docker-syspass's Introduction

Version Build Status Docker Stars Docker Pulls Docker Repository on Quay Donate Paypal

About

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

Features

Included

  • Alpine Linux 3.8, Nginx, PHP 7.2
  • OPCache enabled to store precompiled script bytecode in shared memory
  • Configuration and backups stored in a dedicated folder

From docker-compose

  • 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

  • 80 : 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 80:80 --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 ๐Ÿ’ฌ
But we're not gonna lie to each other, I'd rather you buy me a beer or two ๐Ÿป!

Paypal

License

MIT. See LICENSE for more details.

docker-syspass's People

Contributors

crazy-max avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.