Skip to content

Commit

Permalink
fix: Resolve port 80 permission denied issue on OpenShift cluster for…
Browse files Browse the repository at this point in the history
… docker-compose sample (#228)

Signed-off-by: Akash Nayak <[email protected]>
  • Loading branch information
Akash-Nayak authored Jan 31, 2023
1 parent 77b8b96 commit e42a1ea
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ services:
image: fibonacci-web:latest
build: ./web
ports:
- "8080:80"
- "8080:8080"
environment:
- API_URL=http://api:1234/api
2 changes: 2 additions & 0 deletions samples/docker-compose/multiple-services/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
FROM php:7-apache
COPY . /var/www/html/
RUN sed -i 's/80/8080/g' /etc/apache2/sites-available/000-default.conf /etc/apache2/ports.conf
EXPOSE 8080
4 changes: 4 additions & 0 deletions samples/docker-compose/multiple-services/zuul/zuul.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
zuul:
routes:
api: /api/**
web: /

0 comments on commit e42a1ea

Please sign in to comment.