Skip to content

Commit

Permalink
Merge pull request #3 from archef2000/master
Browse files Browse the repository at this point in the history
Move port change to the build step.
  • Loading branch information
nvollmar authored May 5, 2024
2 parents 20f7736 + 905ef8f commit a4d510f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ RUN apt-get update && \
ln -s /etc/nginx/sites-enabled /etc/nginx/conf.d && \
cp -v ${DOCROOT}/etc/nginx/bounca /etc/nginx/sites-available/bounca.conf && \
ln -s /etc/nginx/sites-available/bounca.conf /etc/nginx/sites-enabled/bounca.conf && \
sed -i 's#80#8080#g' /etc/nginx/sites-available/bounca.conf && \
cp -v ${DOCROOT}/etc/uwsgi/bounca.ini /etc/uwsgi/apps-available/bounca.ini && \
ln -s /etc/uwsgi/apps-available/bounca.ini /etc/uwsgi/apps-enabled/bounca.ini && \
sed -i 's/www-data/nginx/g' /etc/uwsgi/apps-available/bounca.ini && \
Expand Down
3 changes: 0 additions & 3 deletions files/bounca-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,6 @@ fi
sed -i '/^home/d' /etc/uwsgi/apps-enabled/bounca.ini
sed -i 's#chmod-socket = 700#chmod-socket = 777#g' /etc/uwsgi/apps-enabled/bounca.ini

# Set non-default port
sed -i 's#80#8080#g' /etc/nginx/sites-available/bounca.conf

# Check Nginx config
nginx -t

Expand Down

0 comments on commit a4d510f

Please sign in to comment.