Revert server port to 80 to match untouched user docker-compose.yml mappings indefinitely
This commit is contained in:
@@ -33,6 +33,6 @@ RUN chmod +x /entrypoint.sh
|
||||
# Verzeichnisse anlegen
|
||||
RUN mkdir -p /app/public/images/fulls /app/public/images/thumbs /app/data
|
||||
|
||||
EXPOSE 8080
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
|
||||
@@ -177,7 +177,7 @@ app.get('*', (req, res) => {
|
||||
res.sendFile(path.join(__dirname, '../public/index.html'));
|
||||
});
|
||||
|
||||
const PORT = 8080;
|
||||
const PORT = 80;
|
||||
app.listen(PORT, () => {
|
||||
console.log(`Backend server listening on port ${PORT}`);
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@ services:
|
||||
image: ghcr.io/kroonk/photography:latest
|
||||
container_name: photography-website
|
||||
ports:
|
||||
- "8090:8080"
|
||||
- "8090:80"
|
||||
volumes:
|
||||
# Nextcloud-Ordner mit Originalbildern (read-only)
|
||||
- /volume1/nextcloud/data/Tom/files/Websitebilder:/app/public/images/fulls:ro
|
||||
|
||||
Reference in New Issue
Block a user