About
If you are interested, check out my other
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 (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
)
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
But we're not gonna lie to each other, I'd rather you buy me a beer or two
License
MIT. See LICENSE
for more details.