File tree Expand file tree Collapse file tree 7 files changed +143
-0
lines changed Expand file tree Collapse file tree 7 files changed +143
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 3.7"
3
+ services :
4
+ ts-authkey-test :
5
+ image : tailscale/tailscale:latest
6
+ container_name : ts-authkey-test
7
+ hostname : authkey-test
8
+ environment :
9
+ - TS_AUTHKEY=tskey-auth-kV7bYL6CNTRL-GXXhAHWhHXAVTcumJyyxXAc2cyjxQ3QkD
10
+ - TS_STATE_DIR=/var/lib/tailscale
11
+ volumes :
12
+ - ${PWD}/ts-authkey-test/state:/var/lib/tailscale
13
+ - /dev/net/tun:/dev/net/tun
14
+ cap_add :
15
+ - net_admin
16
+ - sys_module
17
+ restart : unless-stopped
18
+ nginx-authkey-test :
19
+ image : nginx
20
+ network_mode : service:ts-authkey-test
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 3.7"
3
+ services :
4
+ ts-oauth-test :
5
+ image : tailscale/tailscale:latest
6
+ container_name : ts-oauth-test
7
+ hostname : oauth-test
8
+ environment :
9
+ - TS_AUTHKEY=tskey-client-kwLoXj6CNTRL-vCLN9Ab8QYYoLSEM98riXYLnfmtej6Lh?ephemeral=true
10
+ - " TS_EXTRA_ARGS=--advertise-tags=tag:container --reset"
11
+ - TS_STATE_DIR=/var/lib/tailscale
12
+ volumes :
13
+ - ${PWD}/ts-oauth-test/state:/var/lib/tailscale
14
+ - /dev/net/tun:/dev/net/tun
15
+ cap_add :
16
+ - net_admin
17
+ - sys_module
18
+ restart : unless-stopped
19
+ nginx-oauth-test :
20
+ image : nginx
21
+ network_mode : service:ts-oauth-test
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 3.7"
3
+ services :
4
+ ts-nginx-test :
5
+ image : tailscale/tailscale:latest
6
+ container_name : ts-nginx-test
7
+ hostname : nginx-test
8
+ # environment:
9
+ # - TS_AUTHKEY=tskey-client-kZye2b2CNTRL-C7hZoFwYhYEKApKDtt3BYEsA4UJAtawk
10
+ # - TS_EXTRA_ARGS=--advertise-tags=tag:container
11
+ # - TS_STATE_DIR=/var/lib/tailscale
12
+ volumes :
13
+ # - ${PWD}/ts-nginx-test/state:/var/lib/tailscale
14
+ - /dev/net/tun:/dev/net/tun
15
+ cap_add :
16
+ - net_admin
17
+ - sys_module
18
+ restart : unless-stopped
19
+ nginx-pid-test1 :
20
+ image : nginx
21
+ container_name : nginx-pid-test1
22
+ network_mode : service:ts-nginx-test
Original file line number Diff line number Diff line change
1
+ ---
2
+ version : " 3.7"
3
+ services :
4
+ ts-mealie :
5
+ image : tailscale/tailscale:latest
6
+ container_name : ts-mealie
7
+ hostname : mealie
8
+ environment :
9
+ - TS_AUTHKEY=tskey-client-kwLoXj6CNTRL-vCLN9Ab8QYYoLSEM98riXYLnfmtej6Lh?ephemeral=false
10
+ - " TS_EXTRA_ARGS=--advertise-tags=tag:container --reset"
11
+ - TS_SERVE_CONFIG=/config/mealie.json
12
+ - TS_STATE_DIR=/var/lib/tailscale
13
+ volumes :
14
+ - ${PWD}/state:/var/lib/tailscale
15
+ - ${PWD}/config:/config
16
+ - /dev/net/tun:/dev/net/tun
17
+ cap_add :
18
+ - net_admin
19
+ - sys_module
20
+ restart : unless-stopped
21
+ mealie :
22
+ image : ghcr.io/mealie-recipes/mealie:v1.0.0
23
+ container_name : mealie
24
+ network_mode : service:ts-mealie
25
+ depends_on :
26
+ - ts-mealie
27
+ volumes :
28
+ - mealie-data:/app/data
29
+ environment :
30
+ - ALLOW_SIGNUP=true
31
+ restart : unless-stopped
32
+
33
+ volumes :
34
+ mealie-data :
35
+ driver : local
36
+ ts-mealie :
37
+ driver : local
Original file line number Diff line number Diff line change
1
+ {
2
+ "TCP" : {
3
+ "443" : {
4
+ "HTTPS" : true
5
+ }
6
+ },
7
+ "Web" : {
8
+ "${TS_CERT_DOMAIN}:443" : {
9
+ "Handlers" : {
10
+ "/" : {
11
+ "Proxy" : " http://127.0.0.1:9000"
12
+ }
13
+ }
14
+ }
15
+ },
16
+ "AllowFunnel" : {
17
+ "${TS_CERT_DOMAIN}:443" : false
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "TCP": {
3
+ "443": {
4
+ "HTTPS": true
5
+ }
6
+ },
7
+ "Web": {
8
+ "mealie.velociraptor-noodlefish.ts.net:443": {
9
+ "Handlers": {
10
+ "/": {
11
+ "Proxy": "http://127.0.0.1:9000"
12
+ }
13
+ }
14
+ }
15
+ },
16
+ "AllowFunnel": {
17
+ "mealie.velociraptor-noodlefish.ts.net:443": false
18
+ }
19
+ }
Original file line number Diff line number Diff line change
1
+ # tailscale-dev/docker-guide-code-examples
2
+
3
+ This repository accompanies a YouTube video and [ blog post] ( https://tailscale.com/api/preview?slug=blog/docker-tailscale-guide ) for Tailscale.
4
+
5
+ <iframe width =" 560 " height =" 315 " src =" https://www.youtube.com/embed/tqvvZhGrciQ?si=EsL-Lj8Lf2fa1IoL " title =" YouTube video player " frameborder =" 0 " allow =" accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share " allowfullscreen ></iframe >
You can’t perform that action at this time.
0 commit comments