mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
On Dockerhub, blinko does not have the latest tag, so I changed it to the latest version, which is 1.6.3 at the time of pr.
40 lines
927 B
YAML
40 lines
927 B
YAML
services:
|
|
blinko-website:
|
|
image: blinkospace/blinko:1.6.3
|
|
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: {}
|