Skip to content

Commit

Permalink
test docker env
Browse files Browse the repository at this point in the history
  • Loading branch information
journey-ad committed Jun 21, 2024
1 parent 6b4150d commit 96b1d51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96b1d51

Please sign in to comment.