-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.local
60 lines (48 loc) · 1.99 KB
/
.env.local
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Backend
# ------------------------------------------------------------------------------
export ALLOWED_HOSTS="*"
export CSRF_TRUSTED_ORIGINS=""
export POSTGRES_HOST=postgres
export POSTGRES_PORT=5432
export DEBUG=true
export SECRET_KEY=change_me
export ADMIN_URL=admin/
export STATIC_URL=/static/
export GOOGLE_CLIENT_ID=change_me
export GOOGLE_CLIENT_SECRET=change_me
export CELERY_FLOWER_USER=debug
export CELERY_FLOWER_PASSWORD=debug
export CELERY_BROKER_URL=redis://redis:6379/0
# Frontend
# ------------------------------------------------------------------------------
export NEXT_PUBLIC_BACKEND_URL=http://localhost:5000
export NEXTAUTH_GOOGLE_CLIENT_ID=change_me
export NEXTAUTH_GOOGLE_CLIENT_SECRET=change_me
export NEXTAUTH_URL=http://localhost:3000
export NEXTAUTH_SECRET=change_me
# Redis
# ------------------------------------------------------------------------------
export REDIS_URL=redis://redis:6379/0
# PostgreSQL
# ------------------------------------------------------------------------------
export POSTGRES_DB=web_template
export POSTGRES_USER=postgres
export POSTGRES_PASSWORD=postgres
# Caddy
# ------------------------------------------------------------------------------
export CADDY_FRONTEND_HOST=localhost
export CADDY_BACKEND_HOST=localhost
# Docker
# ------------------------------------------------------------------------------
export DOCKER_BUILDKIT=1
export DOCKER_BUILD_ENVIRONMENT=development
export DOCKER_BUILD_IMAGE_PREFIX=registry.gitlab.com/0x29a/web_template
export DOCKER_BUILD_IMAGE_TAG=latest
# Should Docker restart your containers if they go down in unexpected ways?
# export DOCKER_RESTART_POLICY=unless-stopped
export DOCKER_RESTART_POLICY=no
# What health check test command do you want to run? In development, having it
# curl your web server will result in a lot of log spam, so setting it to
# /bin/true is an easy way to make the health check do basically nothing.
# export DOCKER_WEB_HEALTHCHECK_TEST=curl localhost:8000/up
export DOCKER_WEB_HEALTHCHECK_TEST=/bin/true