develop #9
@@ -14,6 +14,8 @@ services:
|
|||||||
- POSTGRES_PASSWORD=minis
|
- POSTGRES_PASSWORD=minis
|
||||||
- POSTGRES_USER=minis
|
- POSTGRES_USER=minis
|
||||||
- POSTGRES_DB=minis
|
- POSTGRES_DB=minis
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
volumes:
|
volumes:
|
||||||
|
|||||||
@@ -11,3 +11,5 @@ DATABASE_PASSWORD=abc
|
|||||||
ADMIN_PASSWORD=123
|
ADMIN_PASSWORD=123
|
||||||
FRONTEND_PATH=./public
|
FRONTEND_PATH=./public
|
||||||
APPLICATION_NAME=Miniplan\ Hl.\ Familie
|
APPLICATION_NAME=Miniplan\ Hl.\ Familie
|
||||||
|
PORT=8080
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
ktor {
|
ktor {
|
||||||
development = true
|
development = true
|
||||||
deployment {
|
deployment {
|
||||||
port = "${PORT}"
|
port = ${PORT}
|
||||||
}
|
}
|
||||||
application {
|
application {
|
||||||
modules = [ de.walamana.ApplicationKt.module ]
|
modules = [ de.walamana.ApplicationKt.module ]
|
||||||
@@ -9,7 +9,7 @@ ktor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
jwt {
|
jwt {
|
||||||
secret = "${SECRET}"
|
secret = ${SECRET}
|
||||||
issuer = "http://0.0.0.0:8080/"
|
issuer = "http://0.0.0.0:8080/"
|
||||||
audience = "http://0.0.0.0:8080/"
|
audience = "http://0.0.0.0:8080/"
|
||||||
realm = "mini-data"
|
realm = "mini-data"
|
||||||
@@ -21,5 +21,5 @@ database {
|
|||||||
}
|
}
|
||||||
|
|
||||||
admin {
|
admin {
|
||||||
password = "${ADMIN}"
|
password = ${ADMIN}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,6 +36,12 @@ const props = defineProps<{
|
|||||||
transition: 200ms translate;
|
transition: 200ms translate;
|
||||||
translate: 220px;
|
translate: 220px;
|
||||||
transition-delay: 100ms;
|
transition-delay: 100ms;
|
||||||
|
display: flex;
|
||||||
|
gap: 6px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
button {
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
&.save .other-action {
|
&.save .other-action {
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import {Auth} from "@/services/auth";
|
|||||||
|
|
||||||
|
|
||||||
const API_ENDPOINT = import.meta.env.MODE == "development"
|
const API_ENDPOINT = import.meta.env.MODE == "development"
|
||||||
? "http://0.0.0.0:8080/api"
|
? "http://localhost:8080/api"
|
||||||
: window.location.origin + "/api"
|
: window.location.origin + "/api"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user