39 lines
713 B
YAML
39 lines
713 B
YAML
version: '3'
|
|
|
|
services:
|
|
karauth_db_service:
|
|
image: mysql:latest
|
|
restart: always
|
|
command: --default-authentication-plugin=mysql_native_password
|
|
env_file:
|
|
- ./config.env
|
|
ports:
|
|
- 17036:3306
|
|
# for test only....
|
|
volumes:
|
|
- /workspace/data/karauth/db:/var/lib/mysql
|
|
mem_limit: 400m
|
|
|
|
karauth_adminer_service:
|
|
image: adminer:latest
|
|
restart: always
|
|
ports:
|
|
- 17079:8080
|
|
links:
|
|
- karauth_db_service:db
|
|
mem_limit: 100m
|
|
|
|
karauth_back_service:
|
|
build: back/
|
|
restart: always
|
|
image: org.kar.oauth
|
|
ports:
|
|
- 17080:17080
|
|
env_file:
|
|
- ./config.env
|
|
links:
|
|
- karauth_db_service:db
|
|
mem_limit: 1200m
|
|
|
|
|