-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #682 from Amsterdam/azure
Azure
- Loading branch information
Showing
30 changed files
with
580 additions
and
269 deletions.
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 |
---|---|---|
|
@@ -2,25 +2,19 @@ | |
DJANGO_SETTINGS_MODULE=settings.settings | ||
DJANGO_SECRET_KEY=local | ||
DJANGO_DEBUG=True | ||
DJANGO_ALLOWED_HOSTS=0.0.0.0,localhost,api | ||
DJANGO_ALLOWED_HOSTS=0.0.0.0,localhost,api,* | ||
CORS_ORIGIN_WHITELIST=http://0.0.0.0:3000,http://localhost:3000,http://0.0.0.0:2999,http://localhost:2999 | ||
DATABASE_NAME=looplijsten | ||
DATABASE_USER=looplijsten | ||
DATABASE_NAME=top | ||
DATABASE_USER=top | ||
DATABASE_PASSWORD=insecure | ||
DATABASE_HOST=database | ||
SENTRY_DSN=https://[email protected]/0 | ||
LOCAL_DEVELOPMENT_AUTHENTICATION=True | ||
LOCAL_DEVELOPMENT_AUTHENTICATION=False | ||
LOCAL_DEVELOPMENT_USE_MULTIPROCESSING=True | ||
ZAKEN_API_URL=http://zaak-gateway:8000/api/v1 | ||
ZAKEN_API_HEALTH_URL=http://zaak-gateway:8000/health | ||
PUSH_ZAKEN=False # Disabled for local development, enable to test Zaken connection | ||
UWSGI_HTTP=0.0.0.0:8000 | ||
SECRET_KEY_TOP_ZAKEN=SECRET_KEY_TOP_ZAKEN | ||
RABBIT_MQ_USERNAME=guest | ||
RABBIT_MQ_PASSWORD=guest | ||
RABBIT_MQ_URL=rabbitmq | ||
RABBIT_MQ_PORT=5672 | ||
|
||
# RabbitMQ settings | ||
RABBITMQ_DEFAULT_USER=guest | ||
RABBITMQ_DEFAULT_PASS=guest | ||
REDIS_HOST=top-redis | ||
REDIS_PORT=6379 | ||
REDIS_PASSWORD=insecure |
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
.PHONY: manifests deploy | ||
|
||
dc = docker-compose | ||
|
||
ENVIRONMENT ?= local | ||
HELM_ARGS = manifests/chart \ | ||
-f manifests/values.yaml \ | ||
-f manifests/env/${ENVIRONMENT}.yaml \ | ||
--set image.tag=${VERSION} | ||
|
||
REGISTRY ?= 127.0.0.1:5001 | ||
REPOSITORY ?= salmagundi/zaken-backend | ||
VERSION ?= latest | ||
|
||
build: | ||
$(dc) build | ||
|
||
test: | ||
echo "No tests available" | ||
|
||
migrate: | ||
|
||
push: | ||
$(dc) push | ||
|
||
|
||
manifests: | ||
@helm template top $(HELM_ARGS) $(ARGS) | ||
|
||
deploy: manifests | ||
helm upgrade --install top $(HELM_ARGS) $(ARGS) | ||
|
||
update-chart: | ||
rm -rf manifests/chart | ||
git clone --branch 1.5.2 --depth 1 [email protected]:Amsterdam/helm-application.git manifests/chart | ||
rm -rf manifests/chart/.git | ||
|
||
clean: | ||
$(dc) down -v --remove-orphans | ||
|
||
reset: | ||
helm uninstall top | ||
|
||
refresh: reset build push deploy | ||
|
||
dev: | ||
nohup kubycat kubycat-config.yaml > /dev/null 2>&1& |
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
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
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
34 changes: 34 additions & 0 deletions
34
app/apps/itinerary/migrations/0070_add_subjects_tags_daysetting_itinerary.py
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,34 @@ | ||
# Generated by Django 3.2.13 on 2024-05-14 10:04 | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("itinerary", "0069_itinerarysettings_districts"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="itinerarysettings", | ||
name="subjects", | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.PositiveSmallIntegerField(), | ||
blank=True, | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="itinerarysettings", | ||
name="tags", | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.PositiveSmallIntegerField(), | ||
blank=True, | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
] |
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
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
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
34 changes: 34 additions & 0 deletions
34
app/apps/planner/migrations/0041_add_subjects_tags_daysetting_itinerary.py
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,34 @@ | ||
# Generated by Django 3.2.13 on 2024-05-14 10:04 | ||
|
||
import django.contrib.postgres.fields | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("planner", "0040_daysettings_districts"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="daysettings", | ||
name="subjects", | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.PositiveSmallIntegerField(), | ||
blank=True, | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="daysettings", | ||
name="tags", | ||
field=django.contrib.postgres.fields.ArrayField( | ||
base_field=models.PositiveSmallIntegerField(), | ||
blank=True, | ||
null=True, | ||
size=None, | ||
), | ||
), | ||
] |
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
Oops, something went wrong.