1
0
Fork 0
Local docker-compose based development Setup for CAcert software
Find a file
Jan Dittberner ff5ea7dd39 Refine local setup
- Add dependencies for gettext and PDF support
- add whois and netbase to support whois checks
- remove docker/mysql.php because configuration should be done via
  environment variables
- install CAcert CA certificates to allow retrieval of translation data
  from translations.cacert.org
- build i18n files on start of application container
- disable broken OCSP stapling for local certificates
- add language data during database initialization
2020-12-21 18:44:20 +01:00
docker Refine local setup 2020-12-21 18:44:20 +01:00
.dockerignore Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00
.gitignore Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00
.mrconfig Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00
application.Dockerfile Refine local setup 2020-12-21 18:44:20 +01:00
docker-compose.yml Refine local setup 2020-12-21 18:44:20 +01:00
imap.Dockerfile Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00
mariadb.Dockerfile Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00
README.md Add README, move URLs to cacert.localhost 2020-12-20 15:28:19 +01:00
setup_test_ca.sh Add README, move URLs to cacert.localhost 2020-12-20 15:28:19 +01:00
smtp.Dockerfile Implement docker-compose setup for CAcert software 2020-12-20 14:52:15 +01:00

CAcert local development setup

This repository contains a local development environment setup for the CAcert software.

Prerequisites

sudo apt-get update
sudo apt-get install docker.io openssl myrepos
sudo adduser $USER docker
newgrp docker
python3 -m pip install --user -U docker-compose
# make sure that ~/.local/bin is in $PATH 

Usage

Create a .env file that defines the following variables

Variable Usage
MYSQL_ROOT_PASSWORD Database root password
MYSQL_APP_USER Database application user
MYSQL_APP_PASSWORD Database application password
git clone https://git.dittberner.info/jan/cacert-devsetup.git
cd cacert-devsetup
mr checkout
./setup_test_ca.sh
docker-compose up

After these steps you should be able to reach the CAcert application at https://test.cacert.localhost:8443/.