mirror of
https://github.com/journey-ad/Bitmagnet-Next-Web
synced 2024-11-21 17:39:35 +00:00
🐳 Server listening on 0.0.0.0
This commit is contained in:
parent
6b4150d960
commit
1981a093ce
@ -32,5 +32,8 @@ COPY --from=builder /app/.next/server ./.next/server
|
||||
# Expose the application port
|
||||
EXPOSE 3000
|
||||
|
||||
# Set environment variables
|
||||
ENV HOSTNAME=0.0.0.0 PORT=3000
|
||||
|
||||
# Start the application
|
||||
CMD ["node", "server.js"]
|
||||
|
@ -8,7 +8,6 @@ services:
|
||||
- "3000:3000"
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- NEXT_PUBLIC_HOST=bitmagnet-next-web
|
||||
- POSTGRES_DB_URL=postgres://postgres:postgres@postgres:5432/bitmagnet
|
||||
# - POSTGRES_HOST=postgres
|
||||
# - POSTGRES_PASSWORD=postgres
|
||||
|
Loading…
Reference in New Issue
Block a user