small/docker-compose-example.yml

16 lines
311 B
YAML
Raw Normal View History

2024-10-11 18:05:04 +00:00
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