https://github.com/cngjo/docker-deployment
repository to try out docker deployment
https://github.com/cngjo/docker-deployment
cicd deployment-workflow docker docker-compose docker-deployment
Last synced: about 2 months ago
JSON representation
repository to try out docker deployment
- Host: GitHub
- URL: https://github.com/cngjo/docker-deployment
- Owner: cngJo
- License: mit
- Created: 2021-03-31T17:39:12.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-31T20:12:41.000Z (about 5 years ago)
- Last Synced: 2025-06-26T05:02:10.572Z (about 1 year ago)
- Topics: cicd, deployment-workflow, docker, docker-compose, docker-deployment
- Language: Shell
- Homepage:
- Size: 32.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Docker Development / Deployment structure
https://hub.docker.com/r/jojopr/docker-deployment
This test uses php, but it could just be anything
## Local Development
`docker-compose up -d`
the `application` directory gets mounted as a volume, so you can just develop
## Deployment
`docker build application -t `
You then can push to a docker registry and with a tool like watchtower make the final deployment to production / staging / whatever
## Further Documentation / Thoughts
I guess it would be the best - and the documentation does this in some examples - to run the production in docker-compose
with containrrr/watchtower being one part of the composition
https://containrrr.dev/watchtower/http-api-mode/