https://github.com/cristobalgvera/docker-files
Project to store personal Docker compose files
https://github.com/cristobalgvera/docker-files
docker docker-compose mariadb memsql mongodb mysql pentaho postgres postgresql webspoon
Last synced: 3 months ago
JSON representation
Project to store personal Docker compose files
- Host: GitHub
- URL: https://github.com/cristobalgvera/docker-files
- Owner: cristobalgvera
- Created: 2022-09-05T23:28:54.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-12-03T12:36:10.000Z (over 1 year ago)
- Last Synced: 2025-09-01T09:25:18.743Z (10 months ago)
- Topics: docker, docker-compose, mariadb, memsql, mongodb, mysql, pentaho, postgres, postgresql, webspoon
- Homepage:
- Size: 876 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker files
Project to store personal Docker files with special focus
on database instances.
## TL;DR
To use any instance just go into specific folder, fill `.env` file with
your specifications following the `.env.example` file located on each folder
and then execute the following command:
```bash
docker compose up -d
```
### Usage example
To use MongoDB instance:
```bash
# Go to MongoDB folder
cd db/mongodb
# Copy .env.example file into a .env file
cp .env.example .env
# Fill .env variables
vim .env
# Create the container
docker compose up -d
```
Then, inside `mongodb` folder, run any of the following commands:
- To stop started instance:
```bash
docker compose stop
```
- To start stopped instance:
```bash
docker compose start
```
- To remove instance: _(each folder has instructions to remove his instance)_
```bash
docker compose down
# If you want to remove persisted data
# docker compose down --volumes
```