Category : routes

I implemented an application (php+postgres+apache) with docker, created dockerfile and docker-compose and everything went well, except the route system. The first route "/" is working, but not the others. Dockerfile FROM php:8-apache # this is default folder in Apache ENV WORK_DIR=/var/www/html RUN apt-get update RUN apt-get install -y libpq-dev RUN docker-php-ext-install pdo && docker-php-ext-install pdo_pgsql ..

Read more

I am creating an ApiGateway with ocelot that consume an Api service in net core. The ApiGateway and ApiService are deployed on docker with docker compose of this way: Docker-compose: tresfilos.webapigateway: image: ${DOCKER_REGISTRY-}tresfilosapigateway build: context: . dockerfile: tresfilos.ApiGateway/ApiGw-Base/Dockerfile tresfilos.users.service: image: ${DOCKER_REGISTRY-}tresfilosusersservice build: context: . dockerfile: tresfilos.Users.Service/tresfilos.Users.Service/Dockerfile Docker-compose.override: tresfilos.webapigateway: environment: – ASPNETCORE_ENVIRONMENT=Development – IdentityUrl=http://identity-api ports: – ..

Read more

Have a good day and please help me! I have a machine(A) which connected to Kerio-VPN network. On this machine i have a docker container (B) with running web-application. This web-application make outgoing requests to servers (by API), which accessible only inside VPN-network. And my question is how to do it? How to start up ..

Read more

I have several containers set up in Docker Compose. These include a RabbitMQ, NGINX, PHPMyAdmin. Instead of having to use ports to access the different admin panels, I’d like to use URLs. For example I have ports set up to access PHPMyAdmin on port 4200, but I’d like to use a URL. I have NGINX ..

Read more