Refactor nginx setup to use host-level configuration
- Remove main nginx ingress container from docker-compose - Add minimal api-nginx container for FastCGI to HTTP conversion - Expose services directly on ports 7654 (API) and 7655 (UI) - Add comprehensive NGINX_SETUP.md documentation - Include example host nginx configuration - Update docker setup script for new architecture This change allows OpnForm to integrate better with existing host nginx setups by removing the containerized ingress and exposing services directly to the host for reverse proxy configuration.
This commit is contained in:
@@ -63,9 +63,12 @@ if [ "$DEV_MODE" = true ]; then
|
||||
else
|
||||
echo -e "${BLUE}Production environment setup complete!${NC}"
|
||||
echo -e "${YELLOW}Please wait a moment for all services to start${NC}"
|
||||
echo -e "${GREEN}Then visit: http://localhost${NC}"
|
||||
echo -e "${GREEN}Services are available on:${NC}"
|
||||
echo -e "${GREEN}- UI: http://localhost:7655${NC}"
|
||||
echo -e "${GREEN}- API: http://localhost:7654${NC}"
|
||||
echo -e "${YELLOW}Note: Configure your host nginx to proxy to these ports${NC}"
|
||||
fi
|
||||
|
||||
echo -e "${BLUE}Default admin credentials:${NC}"
|
||||
echo -e "${GREEN}Email: admin@opnform.com${NC}"
|
||||
echo -e "${GREEN}Password: password${NC}"
|
||||
echo -e "${GREEN}Password: password${NC}"
|
||||
|
||||
Reference in New Issue
Block a user