Initial commit: Harat's Booking monorepo with deploy setup
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
# ═══════════════════════════════════════════════════════════
|
||||
# Harat's Booking — Production Docker Compose
|
||||
# ═══════════════════════════════════════════════════════════
|
||||
# Deployed via deploy.ps1 → deploy-remote.sh
|
||||
# Coolify's Caddy handles SSL + routing automatically.
|
||||
#
|
||||
# Usage (standalone):
|
||||
# docker compose -f docker-compose.prod.yml up -d
|
||||
# ═══════════════════════════════════════════════════════════
|
||||
|
||||
services:
|
||||
|
||||
server:
|
||||
image: harats-server:${BUILD_VERSION:-latest}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
BUILD_VERSION: ${BUILD_VERSION:-1.0.0}
|
||||
BUILD_DATE: ${BUILD_DATE:-unknown}
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- ./envs/prod/.env
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 3001
|
||||
labels:
|
||||
caddy: harats_demo.swop.su
|
||||
caddy.reverse_proxy: "{{upstreams 3001}}"
|
||||
ports:
|
||||
- "127.0.0.1:3001:3001"
|
||||
networks:
|
||||
- default
|
||||
- coolify
|
||||
volumes:
|
||||
- /apps/harats-storage/logs:/data/logs
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
volumes: {}
|
||||
|
||||
networks:
|
||||
coolify:
|
||||
external: true
|
||||
Reference in New Issue
Block a user