mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
chore: update single click deployments (#1141)
* chore: update single click deployments * dev: update environment variables
This commit is contained in:
parent
f80b3f1eb1
commit
cd821a934d
@ -45,4 +45,10 @@ GITHUB_CLIENT_SECRET="" # For fetching release notes
|
|||||||
# Settings related to Docker
|
# Settings related to Docker
|
||||||
DOCKERIZED=1
|
DOCKERIZED=1
|
||||||
|
|
||||||
|
# Database Settings
|
||||||
|
PGUSER="plane"
|
||||||
|
PGPASSWORD="plane"
|
||||||
|
PGHOST="plane-db"
|
||||||
|
PGDATABASE="plane"
|
||||||
|
|
||||||
# Auto generated and Required that will be generated from setup.sh
|
# Auto generated and Required that will be generated from setup.sh
|
26
app.json
26
app.json
@ -37,6 +37,14 @@
|
|||||||
"description": "Email host to send emails from",
|
"description": "Email host to send emails from",
|
||||||
"value": ""
|
"value": ""
|
||||||
},
|
},
|
||||||
|
"EMAIL_FROM": {
|
||||||
|
"description": "Email Sender",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
|
"EMAIL_PORT": {
|
||||||
|
"description": "The default Email PORT to use",
|
||||||
|
"value": "587"
|
||||||
|
},
|
||||||
"AWS_REGION": {
|
"AWS_REGION": {
|
||||||
"description": "AWS Region to use for S3",
|
"description": "AWS Region to use for S3",
|
||||||
"value": "false"
|
"value": "false"
|
||||||
@ -49,30 +57,22 @@
|
|||||||
"description": "AWS Secret Access Key to use for S3",
|
"description": "AWS Secret Access Key to use for S3",
|
||||||
"value": ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"SENTRY_DSN": {
|
|
||||||
"description": "",
|
|
||||||
"value": ""
|
|
||||||
},
|
|
||||||
"AWS_S3_BUCKET_NAME": {
|
"AWS_S3_BUCKET_NAME": {
|
||||||
"description": "AWS Bucket Name to use for S3",
|
"description": "AWS Bucket Name to use for S3",
|
||||||
"value": ""
|
"value": ""
|
||||||
},
|
},
|
||||||
|
"SENTRY_DSN": {
|
||||||
|
"description": "",
|
||||||
|
"value": ""
|
||||||
|
},
|
||||||
"WEB_URL": {
|
"WEB_URL": {
|
||||||
"description": "Web URL for Plane",
|
"description": "Web URL for Plane this will be used for redirections in the emails",
|
||||||
"value": ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"GITHUB_CLIENT_SECRET": {
|
"GITHUB_CLIENT_SECRET": {
|
||||||
"description": "Github Client Secret",
|
"description": "Github Client Secret",
|
||||||
"value": ""
|
"value": ""
|
||||||
},
|
},
|
||||||
"NEXT_PUBLIC_GITHUB_ID": {
|
|
||||||
"description": "Next Public Github ID",
|
|
||||||
"value": ""
|
|
||||||
},
|
|
||||||
"NEXT_PUBLIC_GOOGLE_CLIENTID": {
|
|
||||||
"description": "Next Public Google Client ID",
|
|
||||||
"value": ""
|
|
||||||
},
|
|
||||||
"NEXT_PUBLIC_API_BASE_URL": {
|
"NEXT_PUBLIC_API_BASE_URL": {
|
||||||
"description": "Next Public API Base URL",
|
"description": "Next Public API Base URL",
|
||||||
"value": ""
|
"value": ""
|
||||||
|
4
deploy/heroku/Dockerfile
Normal file
4
deploy/heroku/Dockerfile
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Deploy the Plane image
|
||||||
|
FROM makeplane/plane
|
||||||
|
|
||||||
|
LABEL maintainer="engineering@plane.so"
|
@ -24,7 +24,7 @@ services:
|
|||||||
command: ./bin/takeoff
|
command: ./bin/takeoff
|
||||||
environment:
|
environment:
|
||||||
DJANGO_SETTINGS_MODULE: plane.settings.production
|
DJANGO_SETTINGS_MODULE: plane.settings.production
|
||||||
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@plane-db:5432/plane
|
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:5432/${PGDATABASE}
|
||||||
REDIS_URL: redis://plane-redis:6379/
|
REDIS_URL: redis://plane-redis:6379/
|
||||||
EMAIL_HOST: ${EMAIL_HOST}
|
EMAIL_HOST: ${EMAIL_HOST}
|
||||||
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
||||||
@ -53,7 +53,7 @@ services:
|
|||||||
command: ./bin/worker
|
command: ./bin/worker
|
||||||
environment:
|
environment:
|
||||||
DJANGO_SETTINGS_MODULE: plane.settings.production
|
DJANGO_SETTINGS_MODULE: plane.settings.production
|
||||||
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@plane-db:5432/plane
|
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:5432/${PGDATABASE}
|
||||||
REDIS_URL: redis://plane-redis:6379/
|
REDIS_URL: redis://plane-redis:6379/
|
||||||
EMAIL_HOST: ${EMAIL_HOST}
|
EMAIL_HOST: ${EMAIL_HOST}
|
||||||
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
||||||
@ -81,7 +81,7 @@ services:
|
|||||||
command: postgres -c 'max_connections=1000'
|
command: postgres -c 'max_connections=1000'
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${PGUSER}
|
POSTGRES_USER: ${PGUSER}
|
||||||
POSTGRES_DB: plane
|
POSTGRES_DB: ${PGDATABASE}
|
||||||
POSTGRES_PASSWORD: ${PGPASSWORD}
|
POSTGRES_PASSWORD: ${PGPASSWORD}
|
||||||
volumes:
|
volumes:
|
||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
|
@ -30,7 +30,7 @@ services:
|
|||||||
command: ./bin/takeoff
|
command: ./bin/takeoff
|
||||||
environment:
|
environment:
|
||||||
DJANGO_SETTINGS_MODULE: plane.settings.production
|
DJANGO_SETTINGS_MODULE: plane.settings.production
|
||||||
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@plane-db:5432/plane
|
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:5432/${PGDATABASE}
|
||||||
REDIS_URL: redis://redis:6379/
|
REDIS_URL: redis://redis:6379/
|
||||||
EMAIL_HOST: ${EMAIL_HOST}
|
EMAIL_HOST: ${EMAIL_HOST}
|
||||||
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
||||||
@ -60,7 +60,7 @@ services:
|
|||||||
command: ./bin/worker
|
command: ./bin/worker
|
||||||
environment:
|
environment:
|
||||||
DJANGO_SETTINGS_MODULE: plane.settings.production
|
DJANGO_SETTINGS_MODULE: plane.settings.production
|
||||||
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@plane-db:5432/plane
|
DATABASE_URL: postgres://${PGUSER}:${PGPASSWORD}@${PGHOST}:5432/${PGDATABASE}
|
||||||
REDIS_URL: redis://redis:6379/
|
REDIS_URL: redis://redis:6379/
|
||||||
EMAIL_HOST: ${EMAIL_HOST}
|
EMAIL_HOST: ${EMAIL_HOST}
|
||||||
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
EMAIL_HOST_USER: ${EMAIL_HOST_USER}
|
||||||
@ -91,11 +91,9 @@ services:
|
|||||||
- pgdata:/var/lib/postgresql/data
|
- pgdata:/var/lib/postgresql/data
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_USER: ${PGUSER}
|
POSTGRES_USER: ${PGUSER}
|
||||||
POSTGRES_DB: plane
|
POSTGRES_DB: ${PGDATABASE}
|
||||||
POSTGRES_PASSWORD: ${PGPASSWORD}
|
POSTGRES_PASSWORD: ${PGPASSWORD}
|
||||||
PGDATA: /var/lib/postgresql/data
|
PGDATA: /var/lib/postgresql/data
|
||||||
ports:
|
|
||||||
- 5432:5432
|
|
||||||
|
|
||||||
plane-redis:
|
plane-redis:
|
||||||
container_name: redis
|
container_name: redis
|
||||||
@ -103,8 +101,6 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- redisdata:/data
|
- redisdata:/data
|
||||||
ports:
|
|
||||||
- 6379:6379
|
|
||||||
|
|
||||||
plane-minio:
|
plane-minio:
|
||||||
container_name: plane-minio
|
container_name: plane-minio
|
||||||
|
3
heroku.yml
Normal file
3
heroku.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
build:
|
||||||
|
docker:
|
||||||
|
web: deploy/heroku/Dockerfile
|
Loading…
Reference in New Issue
Block a user