feat(ptreodactyl): new egg (#515)

* Leave exposing ports to the compose/run setup

* Add pterodactyl egg and adjust the start script for working in ro overlay2 setups

* Update egg-discord-tickets-bot.json
This commit is contained in:
Daleth Darko
2024-01-14 16:05:53 -05:00
committed by GitHub
parent 036c208cf8
commit db4fd843f4
3 changed files with 107 additions and 3 deletions

View File

@@ -24,11 +24,9 @@ ENV USER=container \
HOME=/home/container \
NODE_ENV=production \
HTTP_HOST=0.0.0.0 \
HTTP_PORT=80 \
DOCKER=true
WORKDIR /home/container
COPY --from=builder --chown=container:container --chmod=777 /build /app
EXPOSE ${HTTP_PORT}/tcp
ENTRYPOINT [ "/app/scripts/start.sh" ]
HEALTHCHECK --interval=15s --timeout=5s --start-period=60s \
CMD curl -f http://localhost:${HTTP_PORT}/status || exit 1