Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 43c24aca authored by Andrei Patrascu's avatar Andrei Patrascu
Browse files

Add DB_AUTO_UPGRADE env variable

parent 993bf69b
Branches
Tags v0.1.0
1 merge request!5[#1] Add DB_AUTO_UPGRADE env variable
......@@ -52,3 +52,6 @@ DB_NAME=seta
DB_USER=seta
# User password
DB_PASSWORD=########
# Auto upgrade database schema on start, yes/no
# New migrations should be upgraded manually in production with 'flask --app app_migrate db upgrade' from ui container
DB_AUTO_UPGRADE=no
\ No newline at end of file
......@@ -22,5 +22,5 @@ Create `.env.test` environment file for docker compose as in `.env.example`
Run:
```
docker compose -f docker-compose-test.yml --env-file .env.test build
docker compose -f docker-compose-test.yml --env-file .env.test up
```
......@@ -57,6 +57,7 @@ services:
- DB_USER
- DB_PASSWORD
- STAGE
- DB_AUTO_UPGRADE
ui-react:
restart: always
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment