Commit 7c5143ad authored by Cameron Carney's avatar Cameron Carney

Added restart policy to daemon (compose)

parent bcc9d32f
...@@ -30,10 +30,11 @@ RUN curl -Lo "${PANEL_VERSION}.tar.gz" https://github.com/Pterodactyl/Panel/arch ...@@ -30,10 +30,11 @@ RUN curl -Lo "${PANEL_VERSION}.tar.gz" https://github.com/Pterodactyl/Panel/arch
COPY ./manifest / COPY ./manifest /
VOLUME ["/data"] VOLUME [ "/data" ]
# Expose HTTP and HTTPS ports # Expose HTTP and HTTPS ports
EXPOSE 80 443 EXPOSE 80 443
ENTRYPOINT ["/bin/ash", "/entrypoint.sh"] ENTRYPOINT [ "/bin/ash", "/entrypoint.sh" ]
CMD ["p:start"]
CMD [ "p:start" ]
...@@ -91,6 +91,7 @@ services: ...@@ -91,6 +91,7 @@ services:
# - panel # - panel
# ports: # ports:
# - 8080:8080 # - 8080:8080
# restart: always
# volumes: # volumes:
# - /srv/daemon/config:/srv/daemon/config # - /srv/daemon/config:/srv/daemon/config
# - /srv/daemon/packs:/srv/daemon/packs # - /srv/daemon/packs:/srv/daemon/packs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment