Skip to content

Commit

Permalink
Switch default to no supervisor
Browse files Browse the repository at this point in the history
  • Loading branch information
chevdor committed Nov 19, 2024
1 parent 62e50e2 commit 633c4b2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion container/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM python:3-slim

ARG LNDG_PORT=8000
ARG SUPERVISOR=1
ARG SUPERVISOR=0
ENV PYTHONUNBUFFERED 1

# Add group abnd user to run rootless
Expand Down
2 changes: 1 addition & 1 deletion scripts/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e

LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1}
LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0}
LNDG_LISTEN=${LNDG_LISTEN:-0.0.0.0}
LNDG_PORT=${LNDG_PORT:-8000}

Expand Down
2 changes: 1 addition & 1 deletion scripts/init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# This init script runs when the container start, as rootless

LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1}
LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0}
LNDG_NETWORK=${LNDG_NETWORK:-mainnet}
LNDG_SERVER=${LNDG_SERVER:-localhost:10009}

Expand Down
2 changes: 1 addition & 1 deletion scripts/suinit.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash

LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-1}
LNDG_SUPERVISOR=${LNDG_SUPERVISOR:-0}

# This init script runs when the image is created, as root
touch /var/log/supervisord.log
Expand Down

0 comments on commit 633c4b2

Please sign in to comment.