From e75b88dd684b249109dd0088c067bfa96dd9f9b5 Mon Sep 17 00:00:00 2001 From: Michael Andrew Maurakis Date: Wed, 4 Sep 2024 00:28:41 -0500 Subject: [PATCH] Add hugo/docker-compose.yml --- hugo/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hugo/docker-compose.yml diff --git a/hugo/docker-compose.yml b/hugo/docker-compose.yml new file mode 100644 index 0000000..f4bbcf9 --- /dev/null +++ b/hugo/docker-compose.yml @@ -0,0 +1,20 @@ +services: + tailscale-mauix.bio: + image: tailscale/tailscale:latest + hostname: tail # Assign a name this so that you can set your domain name ex. https://tail.penguin-dory.ts.net + environment: + - TS_AUTHKEY= # BE SURE TO ADD YOUR KEY OR ELSE NOTHING WILL WORK + #- TS_EXTRA_ARGS=--advertise-tags=tag:container # Uncomment this if you want to add a tag to your node. Useful for access control lists. + - TS_FUNNEL_CONFIG=/config/funnel.json # Uncomment this and comment the next line if you want to host your app publicly. + - TS_STATE_DIR=/var/lib/tailscale + - TS_USERSPACE=false + - TS_ACCEPT_DNS=true + volumes: + - ${PWD}/tailserve-config:/config + - ${PWD}/tailscale/state:/var/lib/tailscale + - /dev/net/tun:/dev/net/tun + - ./public:/public #If you are publishing a hugo site then you can just uncomment this line. + cap_add: + - net_admin + - sys_module + restart: unless-stopped \ No newline at end of file