diff --git a/docker/README.md b/docker/README.md index c0827e8..04339c5 100644 --- a/docker/README.md +++ b/docker/README.md @@ -5,9 +5,8 @@ This deploys a Docker Daemon running on Fly.io which you can used to offload bui ## Installation 1. Clone this repository -1. `fly launch`, follow the prompts -1. Select `n` when it asks if you want to deploy -1. Create a volume in a region of your choice: `fly volumes create data --size 50 --region ord` +1. `fly launch --no-deploy`, follow the prompts +1. Create a volume in a region of your choice: `fly volumes create data --size 50 --region bos` 1. Deploy ## Get Connected @@ -17,7 +16,7 @@ This deploys a Docker Daemon running on Fly.io which you can used to offload bui 1. `fly ips private` to get the IP of your Daemon 1. Set the `DOCKER_HOST` env variable using that IP: ``` - export DOCKER_HOST=tcp://[fdaa:0:5d2:a7b:81:0:26d4:2]:2375 + export DOCKER_HOST=tcp://[fdaa:1:c1ea:a7b:1ed:2ce6:bb1e:2]:2375 ``` # Final Step diff --git a/docker/fly.toml b/docker/fly.toml index c7ea9ce..e20aa46 100644 --- a/docker/fly.toml +++ b/docker/fly.toml @@ -1,13 +1,22 @@ -app = "burd-infra-docker-machine" -kill_signal = "SIGINT" -kill_timeout = 5 +# fly.toml app configuration file generated for burd-infra-docker-machine on 2023-11-22T14:28:06-05:00 +# +# See https://fly.io/docs/reference/configuration/ for information about how to use this file. +# -[mounts] - destination = "/data" +app = "burd-infra-docker-machine" +primary_region = "bos" +kill_signal = "SIGINT" +kill_timeout = "5s" + +[build] + +[[mounts]] source = "docker_data" + destination = "/data" [[services]] protocol = "tcp" internal_port = 2375 + [[services.ports]] port = 2375