Reimplement healthcheck without forcing port
This commit is contained in:
parent
11a41fdca7
commit
db37a8c924
@ -36,6 +36,9 @@ Resources:
|
|||||||
- HostPort: 0
|
- HostPort: 0
|
||||||
ContainerPort: 7777
|
ContainerPort: 7777
|
||||||
Protocol: udp
|
Protocol: udp
|
||||||
|
- HostPort: 0
|
||||||
|
ContainerPort: 80
|
||||||
|
Protocol: tcp
|
||||||
LogConfiguration:
|
LogConfiguration:
|
||||||
LogDriver: awslogs
|
LogDriver: awslogs
|
||||||
Options:
|
Options:
|
||||||
|
@ -9,4 +9,12 @@ RUN cd /dt; /dt/build.sh
|
|||||||
|
|
||||||
CMD ["/dt/builds/server.out"]
|
CMD ["/dt/builds/server.out"]
|
||||||
|
|
||||||
|
# Setup status endpoint
|
||||||
|
RUN dnf install nginx -y
|
||||||
|
|
||||||
|
COPY nginx.conf /etc/nginx/conf.d/nginx.conf
|
||||||
|
|
||||||
|
RUN systemctl enable nginx.service
|
||||||
|
|
||||||
|
EXPOSE 80/tcp
|
||||||
EXPOSE 7777/udp
|
EXPOSE 7777/udp
|
Reference in New Issue
Block a user