First version
This commit is contained in:
@@ -0,0 +1,38 @@
|
|||||||
|
services:
|
||||||
|
fluidcalendar:
|
||||||
|
image: eibrahim/fluid-calendar:latest
|
||||||
|
container_name: Fluid-Calendar
|
||||||
|
ports:
|
||||||
|
- 3733:3000
|
||||||
|
environment:
|
||||||
|
NEXTAUTH_URL: https://fluidcalenar.maison
|
||||||
|
NEXT_PUBLIC_APP_URL: https://fluidcalenar.maison
|
||||||
|
NEXT_PUBLIC_SITE_URL: https://fluidcalenar.maison
|
||||||
|
NEXTAUTH_SECRET: 3UlQbABT3Zf2B8H68aqGWrueuWJ1sizqZh373WlPaQq2Qe6y0Astem8MqRfCp4Pi
|
||||||
|
DATABASE_URL: postgresql://fluidcalendaruser:fluidcalendarpass@fluidcalendar-db:5432/fluidcalendar
|
||||||
|
NEXT_PUBLIC_ENABLE_SAAS_FEATURES: false
|
||||||
|
#RESEND_API_KEY:
|
||||||
|
#RESEND_FROM_EMAIL:
|
||||||
|
depends_on:
|
||||||
|
db:
|
||||||
|
condition: service_healthy
|
||||||
|
restart: always
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:17
|
||||||
|
container_name: FluidCalendar-DB
|
||||||
|
hostname: fluidcalendar-db
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "pg_isready", "-q", "-d", "fluidcalendar", "-U", "fluidcalendaruser"]
|
||||||
|
timeout: 45s
|
||||||
|
interval: 10s
|
||||||
|
retries: 10
|
||||||
|
volumes:
|
||||||
|
- /var/lib/docker/volumes/fluidcalendardb:/var/lib/postgresql/data:rw
|
||||||
|
environment:
|
||||||
|
POSTGRES_DB: fluidcalendar
|
||||||
|
POSTGRES_USER: fluidcalendaruser
|
||||||
|
POSTGRES_PASSWORD: fluidcalendarpass
|
||||||
|
restart: always
|
||||||
Reference in New Issue
Block a user