local env fixes

This commit is contained in:
2026-04-04 15:34:55 +02:00
parent 0dcfc5a677
commit c45fc77150
4 changed files with 21 additions and 4 deletions
+17 -1
View File
@@ -1,11 +1,19 @@
services:
db:
image: postgres:16.1-alpine3.19
image: postgres:16.13-alpine3.23
ports:
- "5432:5432"
environment:
POSTGRES_USER: "kemkas"
POSTGRES_PASSWORD: "kemkas-dev42"
volumes:
- db-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U kemkas -d postgres"]
interval: 5s
timeout: 3s
retries: 20
start_period: 5s
backend:
image: ghcr.io/morbalint/kemkas-backend:b8565f8e
@@ -15,6 +23,9 @@ services:
ConnectionStrings__DefaultConnection: "Server=db;User Id=kemkas;Password=kemkas-dev42"
Email__DomainName: "mail.kemkas.hu"
Email__ApiKey: ""
depends_on:
db:
condition: service_healthy
proxy:
image: nginx:latest
@@ -24,3 +35,8 @@ services:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- $HOME/.aspnet/https/kemkas.pem:/etc/nginx/kemkas.pem
- $HOME/.aspnet/https/kemkas.key:/etc/nginx/kemkas.key
depends_on:
- backend
volumes:
db-data:
+1 -1
View File
@@ -1,3 +1,3 @@
PORT=44478
HTTPS=true
HTTPS=false
+1
View File
@@ -12,6 +12,7 @@ export default defineConfig(({ mode }) => {
port,
https,
strictPort: true,
allowedHosts: ['localhost', 'host.docker.internal', 'frontend'],
},
test: {
globals: true,
+1 -1
View File
@@ -47,7 +47,7 @@ http {
#access_log /var/log/nginx/host.access.log main;
location / {
proxy_pass https://frontend;
proxy_pass http://frontend;
}
# redirect server error pages to the static page /50x.html