Files
templates/blueprints/blinko/docker-compose.yml
Jainil Prajapati 🪐 6713733ec1 Refactor Blinko blueprint configuration and environment handling (#255)
* Refactor Blinko blueprint configuration and environment handling

* Standardize tag formatting in meta.json

* FIX-Validating meta.json against blueprint folders and logos

---------

Co-authored-by: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com>
2025-08-02 00:16:54 -06:00

40 lines
928 B
YAML

services:
blinko-website:
image: blinkospace/blinko:latest
environment:
NODE_ENV: production
# API Key for NextAuth
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
DATABASE_URL: ${DATABASE_URL}
NEXTAUTH_URL: ${NEXTAUTH_URL}
NEXT_PUBLIC_BASE_URL: ${NEXT_PUBLIC_BASE_URL}
depends_on:
blinko-postgres:
condition: service_healthy
restart: always
logging:
options:
max-size: "10m"
max-file: "3"
ports:
- 1111
blinko-postgres:
image: postgres:14
restart: always
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
TZ: Asia/Shanghai
volumes:
- blinko-db:/var/lib/postgresql/data
healthcheck:
test: ["CMD", "pg_isready", "-U", "postgres", "-d", "postgres"]
interval: 5s
timeout: 10s
retries: 5
volumes:
blinko-db: {}