Hello SteveLTN, and thanks for your work!
I'm trying to use your https-portal in a MERN dockerized project but I don't know how to use it.
My docker-compose.yml has this code:
Which service is your express server? Is it client? And does it work without HTTPS? If client is your express server, make sure it works from port 8000 first. Then you can try putting HTTPS-PORTAL on top of it.
Hello SteveLTN, and thanks for your work! I'm trying to use your https-portal in a MERN dockerized project but I don't know how to use it. My docker-compose.yml has this code:
version: '3.3'
services: server: build: context: ./server dockerfile: Dockerfile image: myapp-server container_name: myapp-node-server command: /usr/src/app/node_modules/.bin/nodemon index.js volumes:
app-network
mongo: image: mongo volumes:
app-network
https-portal: image: steveltn/https-portal:1 depends_on:
STAGE: 'production' # Don't use production until staging works
FORCE_RENEW: 'true'
networks:
client: build: context: ./client dockerfile: Dockerfile image: myapp-client stdin_open: true container_name: myapp-react-client command: npm start volumes:
networks: app-network: driver: bridge
volumes: data-volume: node_modules: web-root: driver: local
But I don't know how to connect to the express server with https and get data from my mongodb. Could you help me?
Thank you very much.
Juan Torres