mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 13:45:32 +03:00
updates
This commit is contained in:
parent
4fa3a5966e
commit
0efc1ea61a
11
linux/ecosystem/electron-release-server/docker-entrypoint.sh
Executable file
11
linux/ecosystem/electron-release-server/docker-entrypoint.sh
Executable file
@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo "============================================="
|
||||
echo node $(node --version)
|
||||
echo npm $(npm --version)
|
||||
echo yarn $(yarn --version)
|
||||
echo "============================================="
|
||||
echo "[nodejs] Electron Release Server isStarting up"
|
||||
echo "============================================="
|
||||
|
||||
npm start
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -53,9 +53,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -52,9 +52,15 @@ ENV PGDATA /var/lib/postgresql/data
|
||||
VOLUME /var/lib/postgresql/data
|
||||
WORKDIR /var/lib/postgresql/data
|
||||
|
||||
COPY ./docker-entrypoint.sh /
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD pg_isready -h localhost -p 5433 || exit 1
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
||||
# We set the default STOPSIGNAL to SIGINT, which corresponds to what PostgreSQL
|
||||
# calls "Fast Shutdown mode" wherein new connections are disallowed and any
|
||||
|
@ -26,7 +26,6 @@ RUN apt-get update && \
|
||||
apt install -y --allow-unauthenticated --allow-downgrades \
|
||||
qbittorrent-nox
|
||||
|
||||
|
||||
##################################################################
|
||||
# other customisations
|
||||
##################################################################
|
||||
@ -44,7 +43,15 @@ RUN apt clean -y && \
|
||||
|
||||
VOLUME ${QBT_DIR}
|
||||
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD curl -f http://localhost:8282/ || exit 1
|
||||
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
#Final config
|
||||
EXPOSE 8282
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
@ -26,7 +26,6 @@ RUN apt-get update && \
|
||||
apt install -y --allow-unauthenticated --allow-downgrades \
|
||||
qbittorrent-nox
|
||||
|
||||
|
||||
##################################################################
|
||||
# other customisations
|
||||
##################################################################
|
||||
@ -44,7 +43,15 @@ RUN apt clean -y && \
|
||||
|
||||
VOLUME ${QBT_DIR}
|
||||
|
||||
#healthcheck. good practice
|
||||
HEALTHCHECK --interval=2m --timeout=3s CMD curl -f http://localhost:8282/ || exit 1
|
||||
|
||||
# Add image configuration and scripts
|
||||
COPY docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
|
||||
RUN chmod 755 /usr/bin/docker-entrypoint.sh
|
||||
|
||||
#Final config
|
||||
EXPOSE 8282
|
||||
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
ENTRYPOINT /entrypoint.sh
|
||||
ENTRYPOINT ["tini", "-s", "--", "docker-entrypoint.sh"]
|
||||
CMD ["docker-entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user