2023-06-23 04:08:00 +03:00
version : '3'
services :
openserp :
container_name : serp
2026-04-21 02:25:29 +03:00
init : true
# Chrome crashes with "Out of memory" on page loads when /dev/shm is the default 64MB. Prefer an enlarged shm over `ipc:host` to keep the container isolated from the host IPC namespace.
shm_size : 2gb
2023-06-25 20:39:14 +03:00
build :
context : .
2023-06-23 04:08:00 +03:00
ports :
- 7000 : 7000
2023-06-30 22:49:58 +03:00
command : serve -l
#volumes:
2026-04-04 19:32:23 +03:00
# - ./config.yaml:/usr/src/app/config.yaml:ro
2023-06-30 22:49:58 +03:00
environment :
2026-04-04 19:32:23 +03:00
OPENSERP_SERVER_HOST : "0.0.0.0"
OPENSERP_SERVER_PORT : 7000
2023-06-30 22:49:58 +03:00
OPENSERP_BAIDU_RATE_REQUESTS : 6 # Number of requests per Minute
OPENSERP_BAIDU_RATE_BURST : 2 # Number of non-ratelimited requests per Minute
2026-04-04 19:32:23 +03:00