Kumi
f576555005
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.
18 lines
No EOL
373 B
YAML
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 |