- Dockerfile with multi-stage build (builder + production) - docker-compose.yml for EC2 deployment with SSH localhost - Add status.eventifyplus.com to CORS origins Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
408 B
YAML
17 lines
408 B
YAML
services:
|
|
server-monitor:
|
|
build: .
|
|
container_name: eventify-server-monitor
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3002:3002"
|
|
environment:
|
|
- SSH_HOST=host.docker.internal
|
|
- SSH_USER=ubuntu
|
|
- SSH_KEY_PATH=/root/.ssh/id_rsa
|
|
- PORT=3002
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
volumes:
|
|
- /home/ubuntu/.ssh/id_rsa:/root/.ssh/id_rsa:ro
|