From 6346a02aa6507ad6a7d158ca24a97fd4b8ee0896 Mon Sep 17 00:00:00 2001 From: Matthew Date: Sun, 22 Dec 2024 20:50:19 -0500 Subject: [PATCH] redirects --- Docker/Composer/EJCBA/docker-compose.yml | 40 ++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 Docker/Composer/EJCBA/docker-compose.yml diff --git a/Docker/Composer/EJCBA/docker-compose.yml b/Docker/Composer/EJCBA/docker-compose.yml new file mode 100644 index 0000000..0d35623 --- /dev/null +++ b/Docker/Composer/EJCBA/docker-compose.yml @@ -0,0 +1,40 @@ +networks: + access-bridge: + driver: bridge + application-bridge: + driver: bridge + +services: + ejbca-database: + container_name: ejbca-database + image: "mariadb:10.5" + networks: + - application-bridge + environment: + - MYSQL_ROOT_PASSWORD=foo123 + - MYSQL_DATABASE=ejbca + - MYSQL_USER=ejbca + - MYSQL_PASSWORD=ejbca + volumes: + - ejbca-db-data:/var/lib/mysql:rw + + ejbca-node1: + hostname: ejbca-node1 + container_name: ejbca + image: keyfactor/ejbca-ce:latest + depends_on: + - ejbca-database + networks: + - access-bridge + - application-bridge + environment: + - DATABASE_JDBC_URL=jdbc:mariadb://ejbca-database:3306/ejbca?characterEncoding=UTF-8 + - LOG_LEVEL_APP=INFO + - LOG_LEVEL_SERVER=INFO + - TLS_SETUP_ENABLED=simple + ports: + - "7562:8080" + - "7563:8443" + +volumes: + ejbca-db-data: