34 lines
961 B
Plaintext
34 lines
961 B
Plaintext
# docker-compose.override.yml.example
|
|
#
|
|
# Copy this file to docker-compose.override.yml and uncomment sections as needed.
|
|
# Override files are merged on top of docker-compose.yml automatically.
|
|
# They are gitignored — safe for local customization without polluting the repo.
|
|
|
|
services:
|
|
hermes:
|
|
# --- Local build (for development) ---
|
|
# build:
|
|
# context: ..
|
|
# dockerfile: ../Dockerfile
|
|
# target: development
|
|
|
|
# --- Expose gateway port externally (dev only — not for production) ---
|
|
# ports:
|
|
# - "8642:8642"
|
|
|
|
# --- Attach to a custom network shared with other local services ---
|
|
# networks:
|
|
# - myapp_network
|
|
|
|
# --- Override resource limits for a smaller VPS ---
|
|
# deploy:
|
|
# resources:
|
|
# limits:
|
|
# cpus: "0.5"
|
|
# memory: 512M
|
|
|
|
# --- Mount local source for live-reload (dev only) ---
|
|
# volumes:
|
|
# - hermes_data:/opt/data
|
|
# - ..:/opt/hermes:ro
|