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:
|
services:
|
||||||
hatch-web:
|
hatch-web:
|
||||||
build:
|
build:
|
||||||
@ -7,9 +5,10 @@ services:
|
|||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
container_name: hatch-web
|
container_name: hatch-web
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
ports:
|
||||||
|
- "8080:80"
|
||||||
networks:
|
networks:
|
||||||
- hatch-network
|
- hatch-network
|
||||||
# No ports exposed to host - nginx reverse proxies to container
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "wget", "-qO-", "http://localhost:80/"]
|
test: ["CMD", "wget", "-qO-", "http://localhost:80/"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user