Skip to content

Commit

Permalink
force
Browse files Browse the repository at this point in the history
  • Loading branch information
tiptenbrink committed Nov 13, 2023
1 parent cc6b02c commit 0bdcabe
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 377 deletions.
6 changes: 3 additions & 3 deletions build_deploy.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
poetry run confrecipe -r build/deploy/dev/dev.toml -e localdev
poetry run confrecipe -r build/deploy/staging/staging.toml -e staging
poetry run confrecipe -r build/deploy/production/production.toml -e production
poetry run confrecipe -r build/data_sync/data_sync.toml -e production
#poetry run confrecipe -r build/deploy/staging/staging.toml -e staging
#poetry run confrecipe -r build/deploy/production/production.toml -e production
#poetry run confrecipe -r build/data_sync/data_sync.toml -e production
30 changes: 7 additions & 23 deletions config_z.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,12 @@
[main]
docker_net_name = "dodeka"

[backup]
project = "b-dodeka"
service_name = "backup"
# must match <project>-<service_name>-1
container_name = "b-dodeka-backup-1"
# metaconfig
image_name = "ghcr.io/dsav-dodeka/barman"
resources_target = "/dodeka_barman"
volume_name = "b-dodeka-backup-volume"
recover_volume = "b-dodeka-backup-volume-recover"
recover_target = "/dodeka_recover"

project = "dodeka"

[db]
project = "d-dodeka"
service_name = "db"
# must match <project>-<service_name>-1
container_name = "d-dodeka-db-1"
barman_server_name = "d-dodeka-db-1"
container_name = "dodeka-db-1"
barman_server_name = "dodeka-db-1"
postgres_conf_dir = "/dodeka_conf"
init_dir = "/dodeka_init"
# metaconfig
Expand All @@ -28,7 +15,7 @@ host_host = "127.0.0.1"
host_port = "3141"
container_port = "3141"
resources_target = "/dodeka-db"
volume_name = "d-dodeka-db-volume"
volume_name = "dodeka-db-volume"
db_name = "dodeka"
db_user = "dodeka"
# using default
Expand All @@ -37,22 +24,19 @@ image_desc = "Image for D.S.A.V. Dodeka PostgreSQL instance."

[kv]
redisjson_version = "v2.6.6"
project = "ts-dodeka"
service_name = "kv"
container_name = "ts-dodeka-kv-1"
container_name = "dodeka-kv-1"
image_name = "ghcr.io/dsav-dodeka/redis"
host_host = "127.0.0.1"
host_port = "6379"
container_port = "6379"

[server]
project = "s-dodeka"
service_name = "server"
# must match <project>-<service_name>-1
container_name = "s-dodeka-server-1"
container_name = "dodeka-server-1"
# metaconfig
image_name = "ghcr.io/dsav-dodeka/server"
deps_image_name = "ghcr.io/dsav-dodeka/server-deps"
host_host = "127.0.0.1"
host_port = "4241"
container_port = "4241"
Expand All @@ -62,6 +46,7 @@ backend_client_id = "dodekabackend_client"
signup_url = "https://www.av40.nl/index.php?page=Inschrijfformulier&sid=1"
onboard_email = "[email protected]"
smtp_port = 587
realm = "dodeka"

[confspawn_env.production]
name = "production"
Expand Down Expand Up @@ -98,7 +83,6 @@ mail_enabled = false
name = "localdev"
version = "localdev"
db_password = "postpost"
barman_password = "barbar"
redis_password = "redisredis"
allowed_envs = "\"envless\", \"localdev\", \"test\""
api_root = "http://localhost:4243"
Expand Down
20 changes: 0 additions & 20 deletions use/data_sync/cli.py

This file was deleted.

8 changes: 0 additions & 8 deletions use/data_sync/connect.json

This file was deleted.

18 changes: 0 additions & 18 deletions use/data_sync/migrate.py

This file was deleted.

3 changes: 0 additions & 3 deletions use/data_sync/migrate_env.sh

This file was deleted.

12 changes: 0 additions & 12 deletions use/data_sync/sync.toml

This file was deleted.

2 changes: 1 addition & 1 deletion use/dev/dev.env
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ KV_HOST_HOST=127.0.0.1
DB_HOST_HOST=127.0.0.1
SERVER_HOST_HOST=127.0.0.1

REDIS_PASSWORD=redisredis
REDIS_PASSWORD=
# The tag to upload to GHCR to
KV_IMAGE=ghcr.io/dsav-dodeka/redis
# Docker tag version
Expand Down
77 changes: 0 additions & 77 deletions use/production/docker-compose.yml

This file was deleted.

38 changes: 0 additions & 38 deletions use/production/production.env

This file was deleted.

41 changes: 0 additions & 41 deletions use/repl/docker-compose.yml

This file was deleted.

18 changes: 0 additions & 18 deletions use/repl/repl.env

This file was deleted.

Loading

0 comments on commit 0bdcabe

Please sign in to comment.