Blame
|
1 | # Koffan |
||||||
|
2 | |||||||
| 3 | ## compose.yml |
|||||||
|
4 | ```yaml |
||||||
|
5 | --- |
||||||
|
6 | services: |
||||||
| 7 | koffan: |
|||||||
| 8 | image: ghcr.io/pansalut/koffan:latest |
|||||||
| 9 | container_name: koffan |
|||||||
| 10 | restart: unless-stopped |
|||||||
| 11 | ports: |
|||||||
| 12 | - "3005:80" |
|||||||
| 13 | volumes: |
|||||||
| 14 | - koffan_data:/data |
|||||||
| 15 | environment: |
|||||||
| 16 | - APP_PASSWORD=changeme |
|||||||
| 17 | healthcheck: |
|||||||
| 18 | test: ["CMD", "wget", "--spider", "-q", "http://localhost:80"] |
|||||||
| 19 | interval: 30s |
|||||||
| 20 | timeout: 10s |
|||||||
| 21 | retries: 3 |
|||||||
| 22 | ||||||||
| 23 | volumes: |
|||||||
| 24 | koffan_data: |
|||||||
| 25 | ``` |
|||||||
