mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 06:21:27 +00:00
expose both http and https ports
This commit is contained in:
parent
bd1cd9c4fc
commit
9445980e04
2 changed files with 7 additions and 3 deletions
|
@ -917,5 +917,8 @@ DOCKER_REDIS_PORT_EXTERNAL="${REDIS_PORT}"
|
|||
# Use "3306" for MySQL/MariaDB and "5432" for PostgreeSQL
|
||||
DOCKER_DB_PORT_EXTERNAL="${DB_PORT}"
|
||||
|
||||
# Port that the web will listen on *outside* the container (e.g. the host machine)
|
||||
DOCKER_WEB_PORT_EXTERNAL="8080"
|
||||
# Port that the web will listen on *outside* the container (e.g. the host machine) for HTTP traffic
|
||||
DOCKER_WEB_HTTP_PORT_EXTERNAL="8080"
|
||||
|
||||
# Port that the web will listen on *outside* the container (e.g. the host machine) for HTTPS traffic
|
||||
DOCKER_WEB_HTTPS_PORT_EXTERNAL="444"
|
||||
|
|
|
@ -16,7 +16,8 @@ services:
|
|||
- "${DOCKER_DATA_ROOT}/pixelfed/cache:/var/www/bootstrap/cache"
|
||||
- "${DOCKER_DATA_ROOT}/pixelfed/storage:/var/www/storage"
|
||||
ports:
|
||||
- "${DOCKER_WEB_PORT_EXTERNAL}:80"
|
||||
- "${DOCKER_WEB_HTTP_PORT_EXTERNAL}:80"
|
||||
- "${DOCKER_WEB_HTTPS_PORT_EXTERNAL}:443"
|
||||
depends_on:
|
||||
- db
|
||||
- redis
|
||||
|
|
Loading…
Reference in a new issue