- Docker Engine
- 1Password CLI
- A 1Password Service Account with read and write permissions in at least one vault.
- Learn about secret references
- Create a 1Password Service Account. Make sure to save the service account token in your 1Password account.
- Add the UUID of a vault the service account has read and write permissions in to the
.env
file. This is where 1Password items managed by the app will be stored. - Add the secret reference to the
.env.template
file and remove the.template
suffix. - Add the UUID of a vault the Service Account has read and write permissions in to the .env file. This is where 1Password items managed by the app will be stored.
- Build the image and deploy the container:
op run --env-file=.env -- docker compose up --build
- Visit the webapp in your browser on port 3000 (for example,
localhost:3000
)