Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aneesh-neelam/currency-exchange-rates-sync-job
Sync Job for Currency Exchange Rates
https://github.com/aneesh-neelam/currency-exchange-rates-sync-job
docker docker-compose dockerfile helm helm-chart kubernetes kubernetes-cronjob postgres postgresql postgresql-database python python3 sql sqlalchemy sqlalchemy-orm sqlalchemy-python
Last synced: 16 days ago
JSON representation
Sync Job for Currency Exchange Rates
- Host: GitHub
- URL: https://github.com/aneesh-neelam/currency-exchange-rates-sync-job
- Owner: aneesh-neelam
- License: mit
- Created: 2024-01-20T07:05:01.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-23T15:12:50.000Z (29 days ago)
- Last Synced: 2024-12-23T15:35:31.076Z (29 days ago)
- Topics: docker, docker-compose, dockerfile, helm, helm-chart, kubernetes, kubernetes-cronjob, postgres, postgresql, postgresql-database, python, python3, sql, sqlalchemy, sqlalchemy-orm, sqlalchemy-python
- Language: Python
- Homepage:
- Size: 165 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.Docker.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
### Building and running your application
When you're ready, start your application by running:
`docker compose up --build`.### Deploying your application to the cloud
First, build your image, e.g.: `docker build -t myapp .`.
If your cloud uses a different CPU architecture than your development
machine (e.g., you are on a Mac M1 and your cloud provider is amd64),
you'll want to build the image for that platform, e.g.:
`docker build --platform=linux/amd64 -t myapp .`.Then, push it to your registry, e.g. `docker push myregistry.com/myapp`.
Consult Docker's [getting started](https://docs.docker.com/go/get-started-sharing/)
docs for more detail on building and pushing.### Actual Push
Docker Hub
* `docker buildx build . --push --platform linux/arm64,linux/amd64,linux/amd64/v2 --tag aneeshneelam/currency-exchange-sync:latest --tag aneeshneelam/currency-exchange-sync:2.0 --attest type=provenance,mode=max`
DigitalOcean Container Registry (Private)
* `docker buildx build . --push --platform linux/amd64 --tag registry.digitalocean.com/aneeshneelam-container-registry-sfo3/currency-exchange-sync --attest type=provenance,mode=max`
### References
* [Docker's Python guide](https://docs.docker.com/language/python/)