Skip to content

Commit

Permalink
define nginx ports to be overridable (#1536)
Browse files Browse the repository at this point in the history
* define nginx ports to be overridable

* Change port back to default prod port

Co-authored-by: Christopher Small <metasoarous@gmail.com>
  • Loading branch information
codePau and metasoarous authored Sep 21, 2022
1 parent 49ded38 commit 52e983a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
TAG=dev
HTTP_PORT=80
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ services:
networks:
- "polis-net"
ports:
- "80:80"
- "443:443"
- ${HTTP_PORT:-80}:${HTTP_PORT:-80}
- ${HTTPS_PORT:-443}:${HTTPS_PORT:-443}

file-server:
container_name: polis-file-server
Expand Down

0 comments on commit 52e983a

Please sign in to comment.