karso/docker-compose.yaml

33 lines
665 B
YAML
Raw Normal View History

version: '3'
services:
karauth_db_service:
image: mysql:latest
restart: always
command: --default-authentication-plugin=mysql_native_password
env_file:
- ./config.env
ports:
- 3306:3306
volumes:
2023-05-08 23:31:50 +02:00
- ./db:/var/lib/mysql
mem_limit: 400m
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost"]
timeout: 10s
retries: 3
karauth_adminer_service:
image: adminer:latest
restart: always
depends_on:
- karauth_db_service
# # condition: service_healthy
ports:
2023-05-08 23:31:50 +02:00
- 10079:8080
links:
- karauth_db_service:db
#read_only: true
mem_limit: 100m