File size: 1,184 Bytes
dfb775d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | # SPDX-License-Identifier: Apache-2.0
# (c) 2026 BANKON — all rights reserved.
# Podman-compose / docker-compose definition for the VPS deployment.
#
# Usage:
# podman-compose -f deploy/compose.yml up -d
# podman-compose -f deploy/compose.yml logs -f wordpress-agent
# podman-compose -f deploy/compose.yml down
version: "3.9"
services:
wordpress-agent:
build:
context: ..
dockerfile: deploy/Containerfile
image: localhost/wordpress-agent:0.1.0
container_name: wordpress-agent
restart: unless-stopped
env_file:
- /etc/wordpress-agent/wordpress-agent.env
environment:
WP_SERVER_HOST: "0.0.0.0"
WP_SERVER_PORT: "8765"
ports:
# Loopback-only by design. AuthorAgent runs on the same VPS host
# and reaches the agent through 127.0.0.1:8765. Do not expose publicly.
- "127.0.0.1:8765:8765"
networks:
- mindx_internal
read_only: true
tmpfs:
- /tmp:size=64m
security_opt:
- no-new-privileges:true
cap_drop:
- ALL
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
networks:
mindx_internal:
driver: bridge
|