22 lines
515 B
YAML
22 lines
515 B
YAML
services:
|
|
teacherpick_frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
args:
|
|
VITE_SITE_ORIGIN: https://teacherpick.kr
|
|
container_name: teacherpick_frontend
|
|
restart: unless-stopped
|
|
expose:
|
|
- "80"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=80
|
|
- HOST=0.0.0.0
|
|
- VITE_SITE_ORIGIN=https://teacherpick.kr
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:80/healthz"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|