chore: improve local setup and change database type #33

Merged
piopi merged 10 commits from improve-local-setup into master 2024-12-20 17:27:59 -05:00
5 changed files with 13 additions and 15 deletions
Showing only changes of commit 540c3f8e5d - Show all commits

View file

@ -1,10 +1,9 @@
services:
hestia-database:
image: 'postgres:12-alpine'
container_name: 'hestia-database'
ports:
- '5432:5432'
environment:
POSTGRES_USER: hestia
POSTGRES_PASSWORD: test123
hestia-database:
image: 'postgres:12-alpine'
container_name: 'hestia-database'
ports:
- '5432:5432'
environment:
POSTGRES_USER: hestia
POSTGRES_PASSWORD: test123

View file

@ -1,4 +1,3 @@
services:
wait:
image: dokku/wait
wait:
image: dokku/wait

View file

@ -19,4 +19,4 @@ export async function validateSession(event: ServerLoadEvent) {
redirect(302, '/login');
}
return session;
}
}

View file

@ -2,4 +2,4 @@ import { validateSession } from '$lib/server/auth';
export async function load(event) {
await validateSession(event);
}
}

View file

@ -7,4 +7,4 @@ export async function load(event) {
return {
user: rest,
};
}
}