Deploy hatch.surf in Docker container
Some checks failed
Build hatch.surf / build (push) Failing after 3s
Some checks failed
Build hatch.surf / build (push) Failing after 3s
- Updated docker-compose.yml to expose port 8080 - Updated nginx config to reverse proxy to Docker container - hatch.surf now runs in Docker, not direct /var/www - Container health check enabled Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
parent
04328fb0d7
commit
d6888a4731
@ -1,5 +1,3 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
hatch-web:
|
||||
build:
|
||||
@ -7,9 +5,10 @@ services:
|
||||
dockerfile: Dockerfile
|
||||
container_name: hatch-web
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "8080:80"
|
||||
networks:
|
||||
- hatch-network
|
||||
# No ports exposed to host - nginx reverse proxies to container
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "-qO-", "http://localhost:80/"]
|
||||
interval: 30s
|
||||
|
||||
Loading…
Reference in New Issue
Block a user