Files
backend_authentication/authentication/Makefile
T
jakob.scheid 94574e32ea new file: authentication/.env
new file:   authentication/Dockerfile
	new file:   authentication/Makefile
	new file:   authentication/__pycache__/main.cpython-313.pyc
	new file:   authentication/database-migration/Dockerfile
	new file:   authentication/database-migration/data.db
	new file:   authentication/database-migration/db_migration.py
	new file:   authentication/database-migration/migration.py
	new file:   authentication/database-migration/requirements.txt
	new file:   authentication/docker-compose.migration.yml
	new file:   authentication/docker-compose.yml
	new file:   authentication/main.py
	new file:   authentication/requirements.txt
2025-12-19 16:27:47 +01:00

25 lines
550 B
Makefile

build:
podman-compose build
reload:
podman rm authentication_app_1
podman rm authentication_db_1
podman rm authentication_migration_1
up:
podman-compose up --build
down:
podman-compose down
restart:
make down up
migrate:
cp ../../../server/data/users/auth_data/basis_data/data.db database-migration/data.db
# make reload
# podman-compose -f docker-compose.yml -f docker-compose.migration.yml up --build
podman-compose -f docker-compose.migration.yml up --build
migrate-test:
podman-compose -f docker-compose.migration.yml up --build