This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2019-12-09 20:00:45 +00:00
|
|
|
# docker-compose
|
|
|
|
|
|
|
|
This installation Method is for test-setups and small-scale productive setups.
|
|
|
|
|
|
|
|
## Prerequisites
|
|
|
|
|
|
|
|
- docker
|
|
|
|
- docker-compose
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
```
|
2020-06-08 20:09:04 +00:00
|
|
|
wget https://raw.githubusercontent.com/BeryJu/passbook/master/docker-compose.yml
|
|
|
|
# Optionally enable Error-reporting
|
|
|
|
# export PASSBOOK_ERROR_REPORTING=true
|
|
|
|
# Optionally deploy a different version
|
|
|
|
# export PASSBOOK_TAG=0.8.15-beta
|
|
|
|
# If this is a productive installation, set a different PostgreSQL Password
|
|
|
|
# export PG_PASS=$(pwgen 40 1)
|
|
|
|
docker-compose pull
|
|
|
|
docker-compose up -d
|
|
|
|
docker-compose exec server ./manage.py migrate
|
2019-12-09 20:00:45 +00:00
|
|
|
```
|
2020-06-08 20:11:01 +00:00
|
|
|
|
|
|
|
Afterwards, you can log in using `pbadmin` as username and password.
|