Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 4 hours 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 (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-13T12:22:57.000Z (3 months ago)
- Last Synced: 2024-08-13T15:17:08.528Z (3 months ago)
- Topics: docker, docker-compose, mariadb, memsql, mongodb, mysql, pentaho, postgres, postgresql, webspoon
- Homepage:
- Size: 874 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
```