Skip to content

Commit 52e983a

Browse files
codePaumetasoarous
andauthored
define nginx ports to be overridable (#1536)
* define nginx ports to be overridable * Change port back to default prod port Co-authored-by: Christopher Small <metasoarous@gmail.com>
1 parent 49ded38 commit 52e983a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
TAG=dev
2+
HTTP_PORT=80

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ services:
6868
networks:
6969
- "polis-net"
7070
ports:
71-
- "80:80"
72-
- "443:443"
71+
- ${HTTP_PORT:-80}:${HTTP_PORT:-80}
72+
- ${HTTPS_PORT:-443}:${HTTPS_PORT:-443}
7373

7474
file-server:
7575
container_name: polis-file-server

0 commit comments

Comments
 (0)