Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/user/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ On your machine:

- The repository with `bun install` done, and the Docker CLI (the image builds on the server, so no local daemon is needed).
- `ssh <server> docker info` works without a password prompt.
- `CLOUDFLARE_API_TOKEN` and `CLOUDFLARE_ACCOUNT_ID`. Alchemy stores its deploy state in Cloudflare and creates nothing else there.

Alchemy keeps the deploy state in `.alchemy/` in your checkout. Deploy and tear down from the same checkout, or it loses track of the container.

### Deploy

Expand Down
3 changes: 1 addition & 2 deletions infra/self-hosted.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as Alchemy from 'alchemy';
import * as Cloudflare from 'alchemy/Cloudflare';
import * as Docker from 'alchemy/Docker';
import * as Config from 'effect/Config';
import * as ConfigProvider from 'effect/ConfigProvider';
Expand Down Expand Up @@ -28,7 +27,7 @@ export default Alchemy.Stack(
selfHostedName,
{
providers: Docker.providers(),
state: Cloudflare.state()
state: Alchemy.localState()
},
Effect.gen(function* () {
const { stage } = yield* Alchemy.Stack;
Expand Down
Loading