https://github.com/jo-tools/docker
Docker Examples
https://github.com/jo-tools/docker
docker docker-compose
Last synced: 3 months ago
JSON representation
Docker Examples
- Host: GitHub
- URL: https://github.com/jo-tools/docker
- Owner: jo-tools
- License: mit
- Created: 2024-03-28T21:45:32.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-23T19:15:12.000Z (over 1 year ago)
- Last Synced: 2024-10-24T05:44:50.613Z (over 1 year ago)
- Topics: docker, docker-compose
- Language: Shell
- Homepage: https://www.jo-tools.ch
- Size: 6.31 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Docker
Docker Compose Examples
[](LICENSE)
## Description
This repository provides some Docker Compose Examples.
### Data Storage
> [Docker Manual: Manage data in Docker](https://docs.docker.com/storage/)
Docker has two options for containers to store files on the host machine, so that the files are persisted even after the container stops: volumes, and bind mounts.
The following examples provide setups for:
- [Volumes](https://docs.docker.com/storage/volumes/)
> Volumes are the preferred mechanism for persisting data generated by and used by Docker containers. They are completely managed by Docker.
- [Bind Mounts](https://docs.docker.com/storage/bind-mounts/)
> Data is stored in a directory on the host machine, which is mounted into the container.
## Docker Compose
### PostgreSQL Server | pgAdmin 4
Example `docker-compose.yml`
- Volumes: [Local PostgreSQL Server | pgAdmin](./local-postgres-volumes/)
- Bind Mounts: [Local PostgreSQL Server | pgAdmin](./local-postgres-bind-mounts/)
### cubeSQL Server | cubeSQL Web Admin
Example `docker-compose.yml`
- Volumes: [Local cubeSQL Server | cubeSQL Web Admin](./local-cubesql-volumes/)
- Bind Mounts: [Local cubeSQL Server | cubeSQL Web Admin](./local-cubesql-bind-mounts/)
### MariaDB | phpMyAdmin
Example `docker-compose.yml`
- Volumes: [Local MariaDB | phpMyAdmin](./local-mariadb-volumes/)
- Bind Mounts: [Local MariaDB | phpMyAdmin](./local-mariadb-bind-mounts/)
### Microsoft SQL Server | Adminer
Example `docker-compose.yml`
- Volumes: [Local Microsoft SQL Server | Adminer](./local-mssql-volumes/)
- Bind Mounts: [Local Microsoft SQL Server | Adminer](./local-mssql-bind-mounts/)
## Shell Scripts
Example [Shell Scripts](./shell-scripts/)
- `docker-volume-cp.sh`
Copy Data from Host to Docker Volume | Copy Data from Docker Volume to Host
## About
Juerg Otter is a long term user of Xojo and working for [CM Informatik AG](https://cmiag.ch/). Their Application [CMI LehrerOffice](https://cmi-bildung.ch/) is a Xojo Design Award Winner 2018. In his leisure time Juerg provides some [bits and pieces for Xojo Developers](https://www.jo-tools.ch/).
### Contact
[](mailto:xojo@jo-tools.ch)
[](https://www.facebook.com/juerg.otter)
[](https://twitter.com/juergotter)
### Donation
Do you like this project? Does it help you? Has it saved you time and money?
You're welcome - it's free... If you want to say thanks I'd appreciate a [message](mailto:xojo@jo-tools.ch) or a small [donation via PayPal](https://paypal.me/jotools).
[](https://paypal.me/jotools)