2020-10-25 00:39:52 +02:00
version : '3'
services :
karideo_db_service :
image : mysql:latest
restart : always
command : --default-authentication-plugin=mysql_native_password
env_file :
- ./config.env
volumes :
- /workspace/data/karideo/db:/var/lib/mysql
2022-04-01 01:41:06 +02:00
mem_limit : 600m
2022-06-03 00:28:30 +02:00
healthcheck :
test : [ "CMD" , "mysqladmin" , "ping" , "-h" , "localhost" ]
timeout : 20s
retries : 10
2020-10-25 00:39:52 +02:00
2022-06-03 00:28:30 +02:00
karauth_adminer_service :
2020-10-25 00:39:52 +02:00
image : adminer:latest
restart : always
2022-06-03 00:28:30 +02:00
depends_on :
- karideo_db_service
2020-10-25 00:39:52 +02:00
ports :
- 18079 : 8080
links :
- karideo_db_service:db
2022-03-13 18:22:44 +01:00
mem_limit : 100m
2020-10-25 00:39:52 +02:00
karideo_back_service :
2022-06-03 00:28:30 +02:00
build : .
2020-10-25 00:39:52 +02:00
restart : always
2022-06-03 00:28:30 +02:00
image : org.kar.karideo
depends_on :
- karideo_db_service
2020-10-25 00:39:52 +02:00
ports :
- 18080 : 18080
env_file :
- ./config.env
links :
- karideo_db_service:db
2022-06-06 23:58:18 +02:00
volumes :
- /workspace/data/karideo/media:/application/data
2022-06-07 00:22:24 +02:00
- /workspace/data/karideo/tmp:/application/tmp
# readonly error due to the temporary files, need test: System.setProperty("java.io.tmpdir", "/application/tmp"); maybe create some problem in the read/write access for the HDD drive...
#read_only: true
2022-03-13 18:22:44 +01:00
mem_limit : 1200m
2022-06-03 00:28:30 +02:00
healthcheck :
test : [ "CMD" , "wget" , "http://localhost:18080/karideo/api/health_check" , "-O" , "/dev/null" ]
timeout : 20s
retries : 3