Skip to content

Commit

Permalink
Template application deploy #12281640103
Browse files Browse the repository at this point in the history
  • Loading branch information
nava-platform-bot committed Dec 11, 2024
1 parent 41ab224 commit 473712c
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 129 deletions.
2 changes: 1 addition & 1 deletion .template-flask-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6775182b406da2e0889ae5eeff05eb4264b73727
f715d8d0be3ea1bfc3456e113ade445b51a0b80c
1 change: 1 addition & 0 deletions app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ coverage.*
# Environment variables
.env
.envrc
override.env

# mypy
.mypy_cache
Expand Down
6 changes: 5 additions & 1 deletion app/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ services:
- RUN_USER=${RUN_USER:-app}
command: ["poetry", "run", "flask", "--app", "src.app", "run", "--host", "0.0.0.0", "--port", "8080", "--reload"]
container_name: main-app
env_file: local.env
env_file:
- path: ./local.env
required: true
- path: ./override.env
required: false
ports:
- 8080:8080
volumes:
Expand Down
7 changes: 7 additions & 0 deletions app/local.env
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Local environment variables
# Used by docker-compose and it can be loaded
# by calling load_local_env_vars() from app/src/util/local.py
#
# To override values for your own personal local development
# create an override.env file in the same directory.
# Any environment variables defined in that file will
# take precedence over those defined here.
#
# See /docs/app/README.md for further details

ENVIRONMENT=local
PORT=8080
Expand Down
Loading

0 comments on commit 473712c

Please sign in to comment.