Skip to content

Commit eac87ba

Browse files
committedJun 11, 2019
Move docker to own repository
1 parent 3d2b447 commit eac87ba

File tree

4 files changed

+7
-140
lines changed

4 files changed

+7
-140
lines changed
 

‎docker/Dockerfile

-30
This file was deleted.

‎docker/Makefile

-24
This file was deleted.

‎docker/README.md

+7-40
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,10 @@
1-
# OpenXPKI@docker
2-
3-
## Using Docker Compose
4-
5-
The provided docker-compose provided creates three containers:
6-
7-
- database (based on mysql:5.7)
8-
- OpenXPKI Server
9-
- OpenXPKI WebUI
10-
11-
Before running compose you **MUST** place a configuration directory named `openxpki-config` in the current directory, the easiest way is to clone the branch `docker` from the `openxpki-config` repository at github.
12-
13-
```bash
14-
$ git clone https://github.com/openxpki/openxpki-config.git --branch=docker
15-
$ docker-compose up
16-
```
17-
18-
This will expose the OpenXPKI WebUI via `http://localhost:8080` (**unencrypted**!) with the sample configuration but without any tokens. Place your keys and certificates into the `ca` directory of the config directory and follow the instructions given in the quickstart tutorial: https://openxpki.readthedocs.io/en/latest/quickstart.html#setup-base-certificates.
19-
20-
## Prebuild images
21-
22-
Prebuild images for the official releases are provided by WhiteRabbitSecurity via a public Docker repository `whiterabbitsecurity/openxpki`.
23-
24-
Those are also used by the docker-compose file.
25-
26-
## Building your own images
27-
28-
The Dockerfile creates a container based on Debian Jessie using prebuild deb packages which are downloaded from the OpenXPKI package mirror (https://packages.openxpki.org).
29-
30-
The image has all code components installed but comes without any configuration.
31-
32-
The easiest way to start is to clone the `docker` branch from the openxpki-config repository from github `https://github.com/openxpki/openxpki-config` and mount it to `/etc/openxpki`.
33-
34-
As the container comes without a database engine installed, you must setup a database container yourself and put the connection details into `config.d/system/database.yaml`.
35-
36-
### WebUI
37-
38-
The container runs only the OpenXPKI daemon but not the WebUI frontend. You can either start apache inside the container or create a second container from the same image that runs the UI. In this case you must create a shared volume for the communication socket mounted at `/var/openxpki/` (this will be changed to (`/run/openxpki/` with one of the next releases!).
39-
40-
1+
# OpenXPKI@Docker
412

3+
We have moved the Dockerfiles to a separate project:
4+
https://github.com/openxpki/openxpki-docker
425

6+
The repository contains a Dockerfile to build your own containers
7+
as well as a docker-compose.yaml with a sample setup.
438

9+
Prebuild docker images, based on the current debian packages, are
10+
available directly via `docker pull whiterabbitsecurity/openxpki`

‎docker/docker-compose.yml

-46
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.