|
|
|
@ -4,12 +4,13 @@ services: |
|
|
|
context: . |
|
|
|
dockerfile: Dockerfile |
|
|
|
args: |
|
|
|
NEXT_PUBLIC_API_URL: http://localhost:3000/api |
|
|
|
NEXT_PUBLIC_API_BASE_URL: https://habibapp.com |
|
|
|
ports: |
|
|
|
- "5561:3000" |
|
|
|
environment: |
|
|
|
- NODE_ENV=production |
|
|
|
- NEXT_PUBLIC_API_URL=http://localhost:3000/api |
|
|
|
- NEXT_PUBLIC_API_BASE_URL=https://habibapp.com |
|
|
|
- NEXT_PUBLIC_SECURITY_KEY=t5yugymks5458fd4ghfg6h6 |
|
|
|
restart: unless-stopped |
|
|
|
healthcheck: |
|
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000"] |
|
|
|
|