structables/docker-compose-example.yml
Kumi f576555005
feat(docker): add dev config and update prod image source
Introduce docker-compose-example-dev.yml for development environment, enabling local builds with stricter container settings (e.g., no-new-privileges, read-only).

Update docker-compose-example.yml to pull the latest version of the structables image from the registry instead of building it locally.

Ensures consistent deployment in production and better resource management during development.
2024-07-01 15:13:34 +02:00

18 lines
No EOL
373 B
YAML

services:
structables:
container_name: structables
restart: unless-stopped
image: privatecoffee/structables:latest
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