20 lines
444 B
YAML
20 lines
444 B
YAML
services:
|
|
web:
|
|
image: ${PERSIAN_GAME_IMAGE:-persian-game:local}
|
|
build:
|
|
context: .
|
|
target: runtime
|
|
args:
|
|
VITE_API_URL: ${VITE_API_URL:-https://api.persain-game.com/api/v1}
|
|
ports:
|
|
- "${APP_PORT:-8080}:8080"
|
|
restart: unless-stopped
|
|
read_only: true
|
|
tmpfs:
|
|
- /tmp:size=16m,mode=1777
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
cap_drop:
|
|
- ALL
|
|
stop_grace_period: 10s
|