Skip to content

Commit

Permalink
Merge pull request #12 from linuxserver/cleanup-develop
Browse files Browse the repository at this point in the history
  • Loading branch information
thespad authored Nov 15, 2022
2 parents 8ea7877 + e26b5ca commit ace8ce1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"

ENV RAILS_ENV="production" \
NODE_ENV="production" \
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
PATH="${PATH}:/app/www/bin"

RUN \
apk add -U --upgrade --no-cache \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"

ENV RAILS_ENV="production" \
NODE_ENV="production" \
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
PATH="${PATH}:/app/www/bin"

RUN \
apk add -U --upgrade --no-cache \
Expand Down
3 changes: 3 additions & 0 deletions root/etc/cont-init.d/50-config
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/with-contenv bash
# shellcheck shell=bash

# Disable php-fpm service as Mastodon doesn't use it
touch /etc/services.d/php-fpm/down

mkdir -p \
/app/www/tmp \
/config/mastodon/public/system
Expand Down
2 changes: 1 addition & 1 deletion root/etc/services.d/mastodon/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

RAILS_ENV=production
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
PATH="${PATH}:/app/www/bin"
RAILS_SERVE_STATIC_FILES=false

exec \
Expand Down
2 changes: 1 addition & 1 deletion root/etc/services.d/sidekiq/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

RAILS_ENV=production
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
PATH="${PATH}:/app/www/bin"

cd /app/www || exit 1

Expand Down
2 changes: 1 addition & 1 deletion root/etc/services.d/streaming/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# shellcheck shell=bash

NODE_ENV=production
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
PATH="${PATH}:/app/www/bin"

exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 4000" \
Expand Down

0 comments on commit ace8ce1

Please sign in to comment.