An open API service indexing awesome lists of open source software.

https://github.com/trieb-work/saleor-apps-docker

This is an automated project that creates docker containers for every release of every official saleor app from https://github.com/trieb-work/saleor-apps
https://github.com/trieb-work/saleor-apps-docker

saleor saleor-docker

Last synced: about 1 year ago
JSON representation

This is an automated project that creates docker containers for every release of every official saleor app from https://github.com/trieb-work/saleor-apps

Awesome Lists containing this project

README

          

# Saleor Apps Docker Images

This repository automatically builds and publishes Docker images for [Saleor Apps](https://github.com/trieb-work/saleor-appss). Each app is containerized individually and published to the GitHub Container Registry.

## Available Images

Images are available for all apps in the Saleor Apps repository. Each app has its own image with version-specific tags.

Example apps:
- `saleor-apps/app-avatax`
- `saleor-apps/app-invoices`
- `saleor-apps/app-slack`
- And more...

## Using the Docker Images

To pull and run an image:

```bash
# Pull a specific version
docker pull ghcr.io/trieb-work/saleor-apps/app-avatax:1.12.3

# Run the container with required environment variables
docker run -p 3000:3000 \
-e SECRET_KEY="your_secret_key_here" \
ghcr.io/trieb-work/saleor-apps/app-avatax:1.12.3
```

### Required Environment Variables

- `SECRET_KEY`: Required for app functionality. Must be provided at runtime.
- `PORT`: Default is 3000
- `HOSTNAME`: Default is "0.0.0.0"

## Image Updates

Images are updated in three ways:

1. **Automatically on Release**: When a new release is published in the Saleor Apps repository
2. **Daily Updates**: Automated builds run daily at midnight UTC
3. **Manual Triggers**: Through GitHub Actions workflow dispatch

## Manual Building

You can manually trigger builds in the GitHub Actions interface:

1. Go to the "Actions" tab
2. Select the "Build and Push Docker Images" workflow
3. Click "Run workflow"
4. Choose one of the following options:
- Build all apps with their current versions
- Build a specific app by providing its name
- Process recent releases (default behavior)

## Image Specifications

- Base Image: `node:22-alpine`
- Platform: `linux/amd64`
- Exposed Port: `3000`
- Non-root user: `nextjs`

## Contributing

Feel free to open issues or submit pull requests if you find any problems or have suggestions for improvements.

## License

This project is licensed under the same terms as Saleor Apps. See the [LICENSE](https://github.com/trieb-work/saleor-appss/blob/main/LICENSE) file for details.