Some checks failed
Tests / PHP 8.1 (push) Has been cancelled
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
23 lines
554 B
YAML
23 lines
554 B
YAML
services:
|
|
app:
|
|
build:
|
|
context: .
|
|
dockerfile: deploy/Dockerfile
|
|
image: jiangling_akaunting:local
|
|
container_name: jiangling_app
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
volumes:
|
|
- ./runtime/.env:/var/www/html/.env
|
|
- jiangling_storage:/var/www/html/storage
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-fsS", "-o", "/dev/null", "http://127.0.0.1:18088/auth/login"]
|
|
interval: 15s
|
|
timeout: 5s
|
|
retries: 10
|
|
start_period: 45s
|
|
|
|
volumes:
|
|
jiangling_storage:
|
|
name: jiangling_storage
|