Giter VIP home page Giter VIP logo

primekey-signing-server-ce's Introduction

Primekey Signing Server Community Edition

Container image for Primekey Signing Server Community Edition. Components involved are Centos 7, Wildfly 18.0.0 and Java OpenJDK 1.8.0.

Docker Stars Docker Pulls GitHub tag GitHub release

Usage

The container is running

docker run \
  --name=my-signing-server \
  --privileged \
  -p 8080:8080 \
  -e SIGNSERVER_MYSQL_USER=signserver \
  -e SIGNSERVER_MYSQL_PASSWORD=signserver \
  -e SIGNSERVER_MYSQL_HOST=db \
  opinkerfi/primekey-signing-server-ce

Parameters and environment variables

Ports

  • -p 8080:8080 - Wildfly Server HTTP Port
  • -p 8443:8443 - Wildfly Server HTTPS (TLS) Port
  • -p 9990:9990 - Wildfly Server Managment Port

Environment variables

The following environmental variables are used by the container and you must set at least user, password and host to point to the database that signing server will be using.

  • -e SIGNSERVER_MYSQL_USER=signingserver - Signing Server MySQL User
  • -e SIGNSERVER_MYSQL_PASSWORD=signingserver - Signing Server MySQL Password
  • -e SIGNSERVER_MYSQL_HOST=db - Signing Server MySQL Hostname
  • -e SIGNSERVER_NODEID=node1 - Signing Server Node ID
  • -e SIGNSERVER_MYSQL_HOST - Signing Server MySQL Hostname
  • -e APPSRV_HOME=/opt/wildfly - Wildfly Server Home
  • -e JAVA_HOME=/etc/alternatives/java_sdk_openjdk - Java Home
  • -e APPSRV_HOME=/opt/wildfly - Wildfly Server Home

Volumes

  • /opt/wildfly - Wildfly home
  • /opt/signserver - Signserver home
  • /sys/fs/cgroup - For systemd functionality

Access

To access Signing Server web

For shell access whilst the container is running do docker exec -it my-signing-server /bin/bash.

Via docker-compose

docker-compose up

where the contents of docker-compose.yml is similar to the example provided

version: '3.1'

services:
    db:
        image: mariadb
        environment:
            MYSQL_ROOT_PASSWORD: myroot-password
            MYSQL_USER: my-signing-server-user
            MYSQL_PASSWORD: my-signing-server-password
            MYSQL_DATABASE: signserver
        command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']

    signserver:
        image: opinkerfi/primekey-signing-server-ce:1.0.0-alpha
        privileged: true
        cap_add:
            - CAP_SYS_ADMIN
        ports:
            - 8080:8080/tcp
            - 8443:8443/tcp
            - 9990:9990/tcp
        depends_on: 
            - db
        environment:
            SIGNSERVER_MYSQL_USER: my-signing-server-user
            SIGNSERVER_MYSQL_PASSWORD: my-signing-server-password
            SIGNSERVER_MYSQL_HOST: db
        volumes:
            - /sys/fs/cgroup:/sys/fs/cgroup:ro

# The following php admin interface can be enabled for debugging. 
#    adminer:
#        image: adminer
#        ports:
#            - 8081:8080

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.