this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

test: working on deployments to fly

+31 -1
+1 -1
flake.nix
··· 94 94 }; 95 95 }; 96 96 devShells.default = pkgs.mkShell { 97 - buildInputs = with pkgs; [ go pigeon nodejs sqlite git-bug openssl flyctl ]; 97 + buildInputs = with pkgs; [ go pigeon nodejs sqlite git-bug openssl flyctl skopeo ]; 98 98 99 99 # TODO: 100 100 # Shell Aliases don't work for direnv because they're not shell portable
+23
fly.toml
··· 1 + # fly.toml app configuration file generated for mast-react-vite-cold-snowflake-8783 on 2025-02-19T23:28:02-08:00 2 + # 3 + # See https://fly.io/docs/reference/configuration/ for information about how to use this file. 4 + # 5 + 6 + app = 'mast-react-vite' 7 + primary_region = 'sea' 8 + 9 + [build] 10 + image = 'react-server:latest' 11 + 12 + [http_service] 13 + internal_port = 8080 14 + force_https = true 15 + auto_stop_machines = true 16 + auto_start_machines = true 17 + min_machines_running = 0 18 + processes = ['app'] 19 + 20 + [[vm]] 21 + memory = '1gb' 22 + cpu_kind = 'shared' 23 + cpus = 1
+7
scripts/deploy.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + PROJECT_NAME=mast-react-vite 4 + nix build .#react-server 5 + skopeo --insecure-policy --debug copy docker-archive:"./result" "docker://registry.fly.io/$PROJECT_NAME:latest" --dest-creds x:"$(flyctl auth token)" --format v2s2 6 + flyctl deploy -i "registry.fly.io/$PROJECT_NAME:latest" --remote-only 7 +