「🔨」 fix: Fixed a few things
This commit is contained in:
@ -28,4 +28,4 @@ STOPSIGNAL SIGINT
|
||||
|
||||
USER adminer
|
||||
CMD [ "php84", "-S", "0.0.0.0:8080", "-t", "/var/www/adminer"]
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=1s --start-interval=2s CMD curl -f "http://localhost:8080"
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=30s --start-interval=5s CMD curl -f "http://localhost:8080"
|
||||
|
@ -46,4 +46,4 @@ WORKDIR /var/lib/mysql
|
||||
|
||||
EXPOSE 3306
|
||||
CMD [ "mariadbd", "--user=mysql" ]
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=8s --start-interval=2s CMD /docker-healthcheck
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=60s --start-interval=5s CMD /docker-healthcheck
|
||||
|
@ -45,4 +45,4 @@ STOPSIGNAL SIGQUIT
|
||||
|
||||
EXPOSE 80
|
||||
CMD [ "nginx", "-g", "daemon off;" ]
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=3s --start-interval=2s CMD curl http://127.0.0.1:80/health || exit 1
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=60s --start-interval=5s CMD curl http://127.0.0.1:80/health || exit 1
|
||||
|
@ -67,4 +67,4 @@ STOPSIGNAL SIGQUIT
|
||||
|
||||
EXPOSE 9000
|
||||
CMD [ "php-fpm84", "-F" ]
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=7s --start-interval=2s CMD cgi-fcgi -bind -connect 127.0.0.1:${PHP_PORT:-9000} || exit 1
|
||||
HEALTHCHECK --interval=30s --timeout=10s --retries=3 --start-period=60s --start-interval=5s CMD cgi-fcgi -bind -connect 127.0.0.1:${PHP_PORT:-9000} || exit 1
|
||||
|
Reference in New Issue
Block a user