no more world accessible servers, cool

This commit is contained in:
nora 2024-08-05 00:36:17 +02:00
parent 2319542edd
commit b58d3f4ceb
3 changed files with 6 additions and 6 deletions

View file

@ -21,7 +21,7 @@ in
hugo-chat-client = {
image = "docker.noratrieb.dev/hugo-chat-client:63bd1922";
login = dockerLogin;
ports = [ "5002:80" ];
ports = [ "127.0.0.1:5002:80" ];
};
/*
hugo_chat_server:
@ -61,7 +61,7 @@ in
*/
hugo-chat-db = {
image = "postgres:16";
ports = [ "5003:80" ];
ports = [ "127.0.0.1:5003:80" ];
volumes = [ "/var/lib/hugo-chat/data:/var/lib/postgresql/data" ];
environment = {
POSTGRES_PASSWORD = "\${HUGO_CHAT_DB_PASSWORD}";

View file

@ -21,7 +21,7 @@
environment = {
UPTIME_CONFIG_PATH = "/uptime.json";
};
ports = [ "5010:3000" ];
ports = [ "127.0.0.1:5010:3000" ];
login = {
registry = "docker.noratrieb.dev";
username = "nils";

View file

@ -31,16 +31,16 @@ www.noratrieb.dev {
}
uptime.noratrieb.dev {
reverse_proxy * vps1.local:5010
reverse_proxy * localhost:5010
}
hugo-chat.noratrieb.dev {
reverse_proxy * vps1.local:5002
reverse_proxy * localhost:5002
}
api.hugo-chat.noratrieb.dev {
import cors https://hugo-chat.noratrieb.dev "DNT,X-CustomHeader,Keep-Alive,User-Agent,X-Requested-With,If-Modified-Since,Cache-Control,Content-Type"
reverse_proxy * vps1.local:5001
reverse_proxy * localhost:5001
}
# TODO: