Last active
May 7, 2020 17:01
-
-
Save dmpanch/65b5c578b8b1465d33bf571a6408a52c to your computer and use it in GitHub Desktop.
syspass-docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
https-portal: | |
image: steveltn/https-portal:1 | |
links: | |
- syspass | |
ports: | |
- '80:80' | |
- '443:443' | |
restart: always | |
environment: | |
STAGE: staging | |
PROXY_READ_TIMEOUT: 3600 | |
DOMAINS: 'example.com -> https://syspass:443' | |
CLIENT_MAX_BODY_SIZE: '100M' | |
volumes: | |
- ssl-certs:/var/lib/https-portal | |
networks: | |
- web | |
syspass: | |
container_name: syspass | |
image: syspass/syspass:3.1.2 # Set this version tag to desired one | |
restart: always | |
depends_on: | |
- db | |
volumes: | |
- syspass-config:/var/www/html/sysPass/app/config | |
- syspass-backup:/var/www/html/sysPass/app/backup | |
# Set USE_SSL=no if you're using a LB or reverse proxy for SSL offloading | |
environment: | |
- USE_SSL=no | |
networks: | |
- web | |
- internal | |
db: | |
container_name: syspass-db | |
restart: always | |
image: mariadb:10.2 | |
# Set a secure password for MariaDB root user | |
environment: | |
- MYSQL_ROOT_PASSWORD=${MYSQL_ROOT_PASSWORD} | |
volumes: | |
- syspass-db:/var/lib/mysql | |
networks: | |
- internal | |
volumes: | |
syspass-config: {} | |
syspass-backup: {} | |
syspass-db: {} | |
ssl-certs: {} | |
networks: | |
web: | |
external: true | |
internal: | |
internal: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment