New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to change port pigallery2 #821
Comments
Docker-wise, application internal port doesn't need really to be bothered with, the one you want is |
thanks sir +62 |
Yes it expected as healthcheck probing on port 80 rather than 2280. |
can I change port 80 on pigallery2?
my stack on below
version: '3'
services:
pigallery2:
image: bpatrik/pigallery2:latest
container_name: pigallery2
environment:
- NODE_ENV=production # set to 'debug' for full debug logging
# - NODE_OPTIONS=--enable-source-maps # enable source map support on the backend for development
volumes:
- /opt/pigallery2/config:/app/data/config # CHANGE ME
- "db-data:/app/data/db"
- /opt/pigallery2/images:/app/data/images:ro # CHANGE ME, ':ro' means read-only
- /mnt/sda1/test:/app/data/images:ro
- /opt/pigallery2/tmp:/app/data/tmp # CHANGE ME
ports:
- 2280:2280
restart: always
volumes:
db-data:
I have changed the port to 2280. Why does it not work when accessing port 2280? always returns to default 80.
The text was updated successfully, but these errors were encountered: