initial booking
This commit is contained in:
32
docker-compose.yml
Normal file
32
docker-compose.yml
Normal file
@@ -0,0 +1,32 @@
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
image: boka-gasol247:latest
|
||||
container_name: boka-gasol247
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
DATABASE_URL: "file:/app/data/app.db"
|
||||
AUTH_SECRET: ${AUTH_SECRET}
|
||||
AUTH_URL: ${AUTH_URL}
|
||||
AUTH_TRUST_HOST: "true"
|
||||
MAILJET_API_KEY: ${MAILJET_API_KEY}
|
||||
MAILJET_API_SECRET: ${MAILJET_API_SECRET}
|
||||
MAIL_FROM_EMAIL: ${MAIL_FROM_EMAIL}
|
||||
MAIL_FROM_NAME: ${MAIL_FROM_NAME}
|
||||
NEXT_PUBLIC_SITE_URL: ${NEXT_PUBLIC_SITE_URL}
|
||||
NEXT_PUBLIC_EVENT_NAME: ${NEXT_PUBLIC_EVENT_NAME}
|
||||
RUN_SEED: ${RUN_SEED:-false}
|
||||
SEED_ADMIN_EMAIL: ${SEED_ADMIN_EMAIL}
|
||||
SEED_ADMIN_PASSWORD: ${SEED_ADMIN_PASSWORD}
|
||||
SEED_ADMIN_NAME: ${SEED_ADMIN_NAME}
|
||||
volumes:
|
||||
- app-data:/app/data
|
||||
# Expose only to a reverse proxy on the same docker network.
|
||||
# If you run a Caddy/nginx/Traefik proxy as a separate stack,
|
||||
# attach this container to that proxy's network and remove the ports below.
|
||||
ports:
|
||||
- "127.0.0.1:3000:3000"
|
||||
|
||||
volumes:
|
||||
app-data:
|
||||
Reference in New Issue
Block a user