Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/adonespitogo/docker-services
Docker containers for common system services like databases.
https://github.com/adonespitogo/docker-services
Last synced: 28 days ago
JSON representation
Docker containers for common system services like databases.
- Host: GitHub
- URL: https://github.com/adonespitogo/docker-services
- Owner: adonespitogo
- License: mit
- Created: 2023-04-10T22:57:01.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-18T09:03:23.000Z (9 months ago)
- Last Synced: 2024-10-22T21:22:55.244Z (3 months ago)
- Language: Makefile
- Size: 34.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-services
Docker containers for common system services like databases and local smtp servers.
I work on multiple enviroments like Mac OS and a variaty of linux operating systems. One of the common services I need to install in my local development machine are databases for our
applications such as our [AdoPiSoft](https://wwww.adopisoft.com) application and servers. Docker has made it so much easier to setup all these services for any system with this repository.## System Requirements
- `docker`
- `make`## Usage
```
git clone [email protected]:adonespitogo/docker-services.git ~/docker-services
cd ~/docker-services
cp .env.sample .env
```The instructions below assumes you are using the default values in `.env` file.
-----
### MariaDB Service
To start `mariadb` server, type: `make start_mariadb` inside the docker-services directory.
The default connection settings are:
```
host = localhost
username = root
password = rootpass
port = 3306
````PhpMyAdmin` is automatically started and can be accessed via [http://localhost:8080](http://localhost:8080) by default.
To stop mariadb server, type `make stop_mariadb`.
-----
### Postgres Service
To start `postgres` server, type: `make start_postgres`. .
The default connection settings are:
```
host = localhost
username = postgres
password = postgres
port = 5432
```To manage your postgres server using `pgadmin4` visit http://localhost:8081
The default email/password for pgadmin4 is:
```
Email: [email protected]
Password: admin
```Then select the pre-defined server `Servers > Local Server`. When a prompt appears to enter your postgres user password, type: `postgres`
This will automatically connect you to the running docker postgres server.
To stop the postgresql server, type `make stop_postgres`
-----
### Mailhog
To start `mailhog`, run `make start_mailhog`.
You can view the mailhog web interface at http://localhost:8025
To stop, use `make stop_mailhog`.
## Docker Status
To list all running docker containers:
```
make status # alis for docker container list
```