Working docker-compose.yml file
Confluence User - 17 Nov, 2021
Hi
I would like to create two docker containers to house the jogetDB and joget server. I would like the data external to the containers. I used the following as a basis for the docker-compose.yml file (Joget on Docker) but, no matter what I do, I cannot get it to run correctly. The below docker-container.yml file works, but I when it jumps to the setup page I get the following error:
Sorry, access is forbidden for security reasons.
Please refresh the previous form before submitting it.
If I expose the volume joget cannot start at all... does anybody have a docker-compose file that has persistent data?
Thank you in advance
cheers
ursus
here is my docker-compose.yml file:
version: '3.3'
services:
jogetdb:
container_name: jogetdb
ports:
- '3306:3306'
environment:
- MYSQL_ROOT_PASSWORD=jwdb
- MYSQL_USER=joget
- MYSQL_PASSWORD=joget
- MYSQL_DATABASE=jwdb
image: 'mysql:5.7'#
joget:
container_name: joget
links:
- 'jogetdb:jwdb'
depends_on:
- jogetdb
container_name: joget
ports:
- '8080:8080'
environment:
- MYSQL_HOST=jwdb
- MYSQL_DATABASE=jwdb
- MYSQL_PORT=3306
- MYSQL_USER=joget
- MYSQL_PASSWORD=joget
image: jogetworkflow/joget-community
# volumes:
# - /docker/joget:/opt/joget/wflow
installation