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

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

Awesome Lists containing this project

README

          

# Docker
Docker Compose Examples

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](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
[![E-Mail](https://img.shields.io/static/v1?style=social&label=E-Mail&message=xojo@jo-tools.ch)](mailto:xojo@jo-tools.ch)
  
[![Follow on Facebook](https://img.shields.io/static/v1?style=social&logo=facebook&label=Facebook&message=juerg.otter)](https://www.facebook.com/juerg.otter)
  
[![Follow on Twitter](https://img.shields.io/twitter/follow/juergotter?style=social)](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).

[![PayPal Dontation to jotools](https://img.shields.io/static/v1?style=social&logo=paypal&label=PayPal&message=jotools)](https://paypal.me/jotools)