Fix backend port collision in Single Container Deployment
This commit is contained in:
parent
ddb64e2ce3
commit
21df1d1b8c
2 changed files with 1 additions and 3 deletions
|
|
@ -52,8 +52,6 @@ COPY supervisord.conf /etc/supervisord.conf
|
||||||
# Setup Environment
|
# Setup Environment
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV NEXT_TELEMETRY_DISABLED=1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
ENV PORT=3000
|
|
||||||
ENV HOSTNAME="0.0.0.0"
|
|
||||||
ENV KVTUBE_DATA_DIR=/app/data
|
ENV KVTUBE_DATA_DIR=/app/data
|
||||||
ENV GIN_MODE=release
|
ENV GIN_MODE=release
|
||||||
ENV NEXT_PUBLIC_API_URL=http://127.0.0.1:8080
|
ENV NEXT_PUBLIC_API_URL=http://127.0.0.1:8080
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ stdout_logfile=/dev/stdout
|
||||||
stdout_logfile_maxbytes=0
|
stdout_logfile_maxbytes=0
|
||||||
stderr_logfile=/dev/stderr
|
stderr_logfile=/dev/stderr
|
||||||
stderr_logfile_maxbytes=0
|
stderr_logfile_maxbytes=0
|
||||||
environment=KVTUBE_DATA_DIR="/app/data",GIN_MODE="release"
|
environment=KVTUBE_DATA_DIR="/app/data",GIN_MODE="release",PORT="8080"
|
||||||
|
|
||||||
[program:frontend]
|
[program:frontend]
|
||||||
command=node server.js
|
command=node server.js
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue