40 lines
868 B
YAML
Executable File
40 lines
868 B
YAML
Executable File
services:
|
|
dm8:
|
|
image: dm8:latest
|
|
container_name: dm8
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
ports:
|
|
- "5236:5236"
|
|
environment:
|
|
- PAGE_SIZE=16
|
|
- CHARSET=1 # 0: GB18030, 1: UTF-8
|
|
- CASE_SENSITIVE=1 # 0: 不敏感, 1: 敏感
|
|
- ARCH_FLAG=1
|
|
- PORT_NUM=5236
|
|
- SYSDBA_PWD=${ADMIN_PASSWORD}
|
|
- SYSAUDITOR_PWD=${ADMIN_PASSWORD}
|
|
- DB_NAME=DAMENG
|
|
- INSTANCE_NAME=DMSERVER
|
|
volumes:
|
|
- ./data:/dm8/data
|
|
- ./arch:/dm8/arch
|
|
- /etc/timezone:/etc/timezone:ro
|
|
- /etc/localtime:/etc/localtime:ro
|
|
networks:
|
|
- trim-default
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 4G
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "50m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
trim-default:
|
|
external: true
|