-
Notifications
You must be signed in to change notification settings - Fork 374
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/digital-ocean-1-click-installer (#665)
* Added initial one click DigitalOcean installer * Fix gunicorn temp location * Moved docker run config around * added django allowed hosts
- Loading branch information
1 parent
06b3d90
commit b3acebf
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# This file describes the deployment for a Digital Ocean One Click app install | ||
# It builds the unified dockerfile, creates a DB connects the Flagsmith server to the DB | ||
|
||
spec: | ||
name: flagsmith | ||
services: | ||
- name: flagsmith-server | ||
dockerfile_path: Dockerfile | ||
http_port: 8000 | ||
git: | ||
branch: main | ||
repo_clone_url: https://github.com/flagsmith/flagsmith.git | ||
envs: | ||
- key: DATABASE_URL | ||
scope: RUN_TIME | ||
value: ${flagsmith-db.DATABASE_URL} | ||
- key: DJANGO_ALLOWED_HOSTS | ||
scope: RUN_TIME | ||
value: '*' | ||
databases: | ||
- name: flagsmith-db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters