ghostforge/docker-compose.yml

22 lines
545 B
YAML
Raw Normal View History

version: '3.8'
services:
ghostforge-db:
image: postgres:15.3
container_name: ghostforge-db
restart: unless-stopped
volumes:
- ghostforge-db-data:/var/lib/postgresql/data
ghostforge:
build:
context: .
dockerfile: Dockerfile
args: [GHOSTFORGE_ENV=prod]
ports: ["${GHOSTFORGE_HOST_WEB_PORT}:${GHOSTFORGE_WEB_PORT}"]
image: ghostforge:latest
container_name: ghostforge
restart: unless-stopped
depends_on: [ghostforge-db]
volumes:
ghostforge-db-data:
name: ghostforge-db-data