Replies: 1 comment 2 replies
-
Two things.
As the error is MariaDB related and not EJBCA: Second, your image for EJBCA is a very old EJBCA Enterprise, and no EJBCA Community as you say. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Attempting to install a Docker Image of the latest CE on MacOS (proof of concept) using these instructions: https://docs.keyfactor.com/ejbca/latest/tutorial-start-out-with-ejbca-docker-container
Having the following error when starting the Docker compose up -d
ejbca-database | 2024-09-03 23:22:15+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.5.2+maria
ubu2404 started.ubu2404 started.ejbca-database | chown: changing ownership of '/var/lib/mysql/': Permission denied
ejbca-database | 2024-09-03 23:24:24+00:00 [Note] [Entrypoint]: Entrypoint script for MariaDB Server 1:11.5.2+maria
ejbca-database | chown: changing ownership of '/var/lib/mysql/': Permission denied
Here is my docker-compose.yml
networks:
access-bridge:
driver: bridge
application-bridge:
driver: bridge
services:
ejbca-database:
container_name: ejbca-database
image: "library/mariadb:latest"
networks:
- application-bridge
environment:
- MYSQL_ROOT_PASSWORD=foo123
- MYSQL_DATABASE=ejbca
- MYSQL_USER=ejbca
- MYSQL_PASSWORD=ejbca
volumes:
- ./datadbdir:/var/lib/mysql:rw
ejbca-node1:
platform: linux/amd64
hostname: ejbca-node1
container_name: ejbca
image: registry.primekey.com/primekey/ejbca-ee:7.10.1
depends_on:
- ejbca-database
networks:
- access-bridge
- application-bridge
environment:
- DATABASE_JDBC_URL=jdbc:mariadb://ejbca-database:3306/ejbca?characterEncoding=UTF-8&allowPublicKeyRetrieval=true
- LOG_LEVEL_APP=INFO
- LOG_LEVEL_SERVER=INFO
- TLS_SETUP_ENABLED=simple
ports:
- "80:8080"
- "443:8443"
Beta Was this translation helpful? Give feedback.
All reactions