ghostforge/docker-compose.yml
Darryl Nixon 3cc1dfcd14 We'll deploy with docker because it's easier for
students to try, review, and give feedback.
Also, maybe it'll make actual development easier.
2023-05-23 12:07:25 -07:00

21 lines
No EOL
544 B
YAML

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