mirror of
https://github.com/darkwire/darkwire.io.git
synced 2025-07-18 10:49:02 +00:00
fix health check
This commit is contained in:
parent
8f1fb99278
commit
1efe556276
10
Dockerfile
10
Dockerfile
@ -31,13 +31,9 @@ COPY start.sh /opt/app/start.sh
|
||||
|
||||
RUN chmod +x /opt/app/start.sh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --start-period=10s --retries=3 \
|
||||
CMD [ "curl", "-f", "http://localhost:3001", "||", "exit", "1" ]
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 CMD \
|
||||
sh -c 'pgrep nginx > /dev/null && pgrep node > /dev/null' || exit 1
|
||||
|
||||
CMD ["/opt/app/start.sh", "start" ]
|
||||
|
||||
|
@ -10,8 +10,7 @@ const Welcome = ({ roomId, translations, close }) => {
|
||||
<li>Support on all modern browsers (Chrome, Firefox, Safari, Safari iOS, Android)</li>
|
||||
<li>Slash commands (/nick, /me, /clear)</li>
|
||||
<li>Room owners can lock the room, preventing anyone else from joining</li>
|
||||
<li>Front-end rewritten in React.js and Redux</li>
|
||||
<li>Send files up to 4 MB</li>
|
||||
<li>Send files</li>
|
||||
</ul>
|
||||
<div>
|
||||
You can learn more{' '}
|
||||
|
@ -6,8 +6,7 @@ services:
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
- SYS_MODULE
|
||||
networks:
|
||||
- db
|
||||
|
||||
ports:
|
||||
- 3002:80
|
||||
- 4001:443
|
||||
@ -16,5 +15,3 @@ services:
|
||||
- net.ipv4.ip_forward=1
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
|
||||
networks:
|
||||
db:
|
Loading…
x
Reference in New Issue
Block a user