Dockerfile for PKI

This commit is contained in:
nemunaire 2015-01-13 18:08:22 +01:00 committed by Nemunaire
commit 34f3747a3b
2 changed files with 52 additions and 0 deletions

View file

@ -140,6 +140,33 @@ docker rm db_setup
docker run -d --name db --volumes-from mysql_data mysql
```
4. Setup the PKI storages:
```
docker run --name pki_storage -v /var/www/fic-server/PKI busybox
docker run --name shared_storage -v /var/www/fic-server/shared busybox
```
5. Build the PKI configuration container:
```
docker build -t pki_setup pki/
```
6. Configure the PKI
For development purpose, you can run the default setup:
```
docker run --rm -it --volumes-from pki_storage --volumes-from shared_storage pki_setup
```
For production environment:
```
docker run --rm -it --volumes-from pki_storage --volumes-from shared_storage pki_setup /bin/bash
TODO next steps
```
##### Requirements