FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
docker-guide-code-examples/07-ts-actual-server/compose.yaml at main · Pankeca/docker-guide-code-examples · GitHub
Pankeca
/
docker-guide-code-examples
Public
forked from
tailscale-dev/docker-guide-code-examples
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
docker-guide-code-examples
/
07-ts-actual-server
/
compose.yaml
Copy path
More file actions
More file actions
Latest commit
History
History
History
39 lines (39 loc) · 1.35 KB
Breadcrumbs
docker-guide-code-examples
/
07-ts-actual-server
/
compose.yaml
Copy path
File metadata and controls
39 lines (39 loc) · 1.35 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
services
:
ts-actual-server
:
image
:
tailscale/tailscale:latest
ports
:
#
This line makes Actual available at port 5006 of the device you run the server on,
#
i.e. http://localhost:5006. You can change the first number to change the port, if you want.
-
'
5006:5006
'
container_name
:
ts-as
hostname
:
actual-server
environment
:
-
TS_AUTHKEY=tskey-auth-<YOUR AUTH KEY HERE>
-
TS_STATE_DIR=/var/lib/tailscale
-
TS_USERSPACE=false
-
TS_SERVE_CONFIG=/config/serve-config.json
volumes
:
-
./ts-actual-server/state:/var/lib/tailscale
-
./ts-actual-server/config:/config
devices
:
-
/dev/net/tun:/dev/net/tun
cap_add
:
-
net_admin
restart
:
unless-stopped
actual_server
:
image
:
docker.io/actualbudget/actual-server:latest
network_mode
:
service:ts-actual-server
depends_on
:
-
ts-actual-server
volumes
:
#
Change './actual-data' below to the path to the folder you want Actual to store its data in on your server.
#
'/data' is the path Actual will look for its files in by default, so leave that as-is.
-
./actual-data:/data
healthcheck
:
#
Enable health check for the instance
test
:
['CMD-SHELL', 'node src/scripts/health-check.js']
interval
:
60s
timeout
:
10s
retries
:
3
start_period
:
20s
restart
:
unless-stopped
Back
|
FazBrowse Home
|
New Git URL