Skip to content

Commit

Permalink
Add webserver and configure to work without reverse proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoBiernat authored and n1kPLV committed Jul 24, 2023
1 parent d069f76 commit d12674d
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Server/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ services:
depends_on:
- postgres
ports: # @Sascha: Je nach Reverse-Proxy Situation hier bitte den Port anpassen:
- ${SERVER_PORT_EXT}:${SERVER_PORT_INT}
- "8080:8080"
environment:
- DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PWD}@postgres:5432/${POSTGRES_DB}?schema=public
- SERVER_PORT=${SERVER_PORT_INT}
- SERVER_PORT=8080
networks:
- railtrail

Expand All @@ -28,6 +28,17 @@ services:
networks:
- railtrail

railtrail-website:
image: ghcr.io/kieler/railtrail-website:development
restart: unless-stopped
ports: # @Sascha: Je nach Reverse-Proxy Situation hier bitte den Port anpassen:
- "80:3000"
environment:
- PORT=3000
- BACKEND_URI="https://railtrail.rtsys.informatik.uni-kiel.de:8080" # @Sascha: Je nach Reverse-Proxy Situation hier bitte die URI anpassen:
networks:
- railtrail

volumes:
railtrail-database:

Expand Down

0 comments on commit d12674d

Please sign in to comment.