Dockerfile for PKI
This commit is contained in:
parent
8cab91f51a
commit
34f3747a3b
2 changed files with 52 additions and 0 deletions
27
README.md
27
README.md
|
|
@ -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
|
||||
|
|
|
|||
Reference in a new issue