15 lines
311 B
YAML
15 lines
311 B
YAML
services:
|
|
small:
|
|
container_name: small
|
|
restart: unless-stopped
|
|
build: .
|
|
ports: [127.0.0.1:8002:8002]
|
|
env_file: .env
|
|
security_opt: [no-new-privileges:true]
|
|
cap_drop: [ALL]
|
|
read_only: true
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
cpus: '0.5'
|
|
memory: 300M
|