forked from buildlyio/buildly-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
83 lines (79 loc) · 3.19 KB
/
docker-compose.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
version: "3.1"
services:
postgres_buildly:
container_name: postgres_buildly
image: postgres:9.6
environment:
POSTGRES_DB: buildly
POSTGRES_USER: root
POSTGRES_PASSWORD: root
volumes:
- /var/lib/postgresql/data/
restart: always
buildly:
build:
context: .
dockerfile: Dockerfile
entrypoint: bash /code/scripts/run-standalone-dev.sh
container_name: buildly
image: buildly
volumes:
- .:/code
- static-content:/static
ports:
- "8080:8080"
depends_on:
- postgres_buildly
environment:
DJANGO_SETTINGS_MODULE: "buildly.settings.production"
ALLOWED_HOSTS: "*"
CORS_ORIGIN_WHITELIST: "*"
DATABASE_ENGINE: "postgresql"
DATABASE_NAME: "buildly"
DATABASE_USER: "root"
DATABASE_PASSWORD: "root"
DATABASE_HOST: "postgres_buildly"
DATABASE_PORT: "5432"
DEFAULT_ORG: "Default Organization"
AUTO_APPROVE_USER: "False"
JWT_ISSUER: "buildly"
JWT_PRIVATE_KEY_RSA_BUILDLY: |-
-----BEGIN RSA PRIVATE KEY-----
MIIBOwIBAAJBALFc9NFZaOaSwUMPNektbtJqEjYZ6IRBqhqvJu1hKPYn9HYd75c0
gIDYHJ9lb7QwQvg44aO27104rDK0xSstzL0CAwEAAQJAe5z5096oyeqGX6J+RGGx
11yuDJ7J+0N4tthUHSWWUtgkd19NvmTM/mVLmPCzZHgNUT+aWUKsQ84+jhru/NQD
0QIhAOHOzFmjxjTAR1jspn6YtJBKQB40tvT6WEvm2mKm0aD7AiEAyRPwXyZf3JT+
M6Ui0Mubs7Qb/E4g1d/kVL+o/XoZC6cCIQC+nKzPtnooKW+Q1yOslgdGDgeV9/XB
Ulqap+MNh7hJZQIgZNaM+wqhlFtbx8aO2SrioJI4XqVHrjojpaSgOM3cdY0CIQDB
Q6ckOaDV937acmWuiZhxuG2euNLwNbMldtCV5ADo/g==
-----END RSA PRIVATE KEY-----
JWT_PUBLIC_KEY_RSA_BUILDLY: |-
-----BEGIN PUBLIC KEY-----
MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBALFc9NFZaOaSwUMPNektbtJqEjYZ6IRB
qhqvJu1hKPYn9HYd75c0gIDYHJ9lb7QwQvg44aO27104rDK0xSstzL0CAwEAAQ==
-----END PUBLIC KEY-----
SOCIAL_AUTH_GOOGLE_OAUTH2_REDIRECT_URL: "https://localhost:8000/complete/google-oauth2"
SOCIAL_AUTH_LOGIN_REDIRECT_URL: "http://localhost:8080/"
SOCIAL_AUTH_MICROSOFT_GRAPH_REDIRECT_URL: "https://localhost:8000/complete/microsoft-graph"
ACCESS_TOKEN_EXPIRE_SECONDS: "86400"
SECRET_KEY: "ek*)b=mtcc7q1cym@oox(lyrz1ncz-(w+(#&u7l-&)7a8wv#_k"
OAUTH_CLIENT_ID: "wkXLlC9h3k0jxIx7oLllxpFVU89Dxgi7O8FYZyfX"
OAUTH_CLIENT_SECRET: "KiKRft8MajLabQId7pjSsa3OfvJAXN9NENi0tVRTX3Vbthr6iClEDZZtbyGuD9M8UbKpK2E8R4xJYUolZxg1nVa1iZwhQPi5ionOKdpIs4de2bmUaZ0qWi4MdBmdwDvF"
USE_PASSWORD_USER_ATTRIBUTE_SIMILARITY_VALIDATOR: "True"
USE_PASSWORD_MINIMUM_LENGTH_VALIDATOR: "True"
PASSWORD_MINIMUM_LENGTH: "6"
USE_PASSWORD_COMMON_VALIDATOR: "True"
USE_PASSWORD_NUMERIC_VALIDATOR: "True"
FRONTEND_URL: "http://localhost:3000/login/"
EMAIL_HOST: "smtp.sendgrid.net"
EMAIL_HOST_USER: "apikey"
EMAIL_HOST_PASSWORD: "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"
EMAIL_PORT: "587"
EMAIL_USE_TLS: "False"
EMAIL_SUBJECT_PREFIX: "NO REPLY: Transparent Path - "
EMAIL_BACKEND: "SMTP"
DEFAULT_FROM_EMAIL: "[email protected]"
RESETPASS_CONFIRM_URL_PATH: "reset-password-confirm/"
STRIPE_SECRET: "sk_test_ddLjeqLRWcj8znVAhMaNPu7J00evbJrikA"
volumes:
static-content: