-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.image.ghcr.yml
More file actions
50 lines (49 loc) · 1.23 KB
/
docker-compose.image.ghcr.yml
File metadata and controls
50 lines (49 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: hairmanager
volumes:
hairmanager_data:
services:
app:
cpu_shares: 1024
container_name: hairmanager
deploy:
resources:
limits:
memory: 1073741824
reservations:
devices: []
environment:
- NODE_ENV=production
- PORT=3001
image: ghcr.io/timknowlden/hairmanager:latest
pull_policy: always
labels:
icon: https://raw.githubusercontent.com/timknowlden/HairManager/main/public/vite.svg
restart: unless-stopped
volumes:
- type: volume
source: hairmanager_data
target: /app/data
ports:
- "3001:3001"
devices: []
cap_add: []
network_mode: bridge
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3001/api/health', (r) => {process.exit(r.statusCode === 200 ? 0 : 1)}).on('error', () => process.exit(1))"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
x-casaos:
author: self
category: self
hostname: ""
icon: https://raw.githubusercontent.com/timknowlden/HairManager/main/public/vite.svg
index: /
is_uncontrolled: false
port_map: "3001"
scheme: http
store_app_id: hairmanager
title:
custom: HairManager
en_us: HairManager