diff --git a/docs/.dockerignore b/docs/.dockerignore index 13ad2b9..69b1d40 100644 --- a/docs/.dockerignore +++ b/docs/.dockerignore @@ -19,5 +19,3 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -# Kubernetes manifests -/manifest \ No newline at end of file diff --git a/docs/Dockerfile b/docs/Dockerfile index a32d6e0..3ac705e 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -7,4 +7,5 @@ RUN npm ci && npm run build FROM ghcr.io/xe/nginx-micro COPY --from=build /app/build /www +COPY ./manifest/cfg/nginx/nginx.conf /conf LABEL org.opencontainers.image.source="https://github.com/TecharoHQ/anubis" \ No newline at end of file diff --git a/docs/fly.toml b/docs/fly.toml new file mode 100644 index 0000000..79047ee --- /dev/null +++ b/docs/fly.toml @@ -0,0 +1,19 @@ +app = 'anubis-docs' +primary_region = 'yyz' + +[build] + image = "ghcr.io/techarohq/anubis/docs:main" + +[http_service] + internal_port = 80 + force_https = true + auto_stop_machines = true + auto_start_machines = true + min_machines_running = 0 + processes = ['app'] + +[[vm]] + cpu_kind = 'shared' + cpus = 1 + memory_mb = 256 +