Docker setup work

This commit is contained in:
Julien Valverdé
2024-07-16 04:14:30 +02:00
parent af2329105d
commit 2497aaa236
3 changed files with 10 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ export module ServerConfig {
Config.withDefault("development"),
)
export const httpPort = Config.number("HTTP_PORT").pipe(Config.withDefault(8080))
export const httpPort = Config.number("HTTP_PORT").pipe(Config.withDefault(80))
export const rpcHTTPRoot = Config.string("RPC_HTTP_ROOT").pipe(Config.withDefault("/rpc"))
export const rpcHTTPPlaygroundRoot = Config.string("RPC_HTTP_PLAYGROUND_ROOT").pipe(Config.withDefault("/rpc/playground"))
}

View File

@@ -5,8 +5,12 @@ import { defineConfig } from "vite"
// https://vitejs.dev/config/
export default defineConfig({
server: {
port: 80,
},
plugins: [
TanStackRouterVite(),
react(),
]
],
})