Browse Source

Rename PORT_DJANGO to MISAGO_DEVSERVER_PORT

jokimina 6 years ago
parent
commit
221fd8b6ab
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dev
  2. 1 1
      docker-compose.yaml

+ 1 - 1
dev

@@ -9,7 +9,7 @@ NORMAL=$(tput sgr0)
 
 
 # Required ports
 # Required ports
 # Some tasks test for those ports before continuing
 # Some tasks test for those ports before continuing
-port_django=${PORT_DJANGO:-8000}
+port_django=${MISAGO_DEVSERVER_PORT:-8000}
 port_postgresql=5432
 port_postgresql=5432
 
 
 required_ports=($port_postgresql $port_django)
 required_ports=($port_postgresql $port_django)

+ 1 - 1
docker-compose.yaml

@@ -26,7 +26,7 @@ services:
     ports:
     ports:
       # Map port 8000 in the container to port 8000 on the host
       # Map port 8000 in the container to port 8000 on the host
       # This way we can access the forum through http://localhost:8000
       # This way we can access the forum through http://localhost:8000
-      - "${PORT_DJANGO:-8000}:8000"
+      - "${MISAGO_DEVSERVER_PORT:-8000}:8000"
     depends_on:
     depends_on:
       - postgres
       - postgres
     tty: true
     tty: true