-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
manage middlewares with docker compose
- Loading branch information
1 parent
adfa728
commit 417a15f
Showing
7 changed files
with
37 additions
and
454 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
services: | ||
postgres: | ||
image: postgres:16 | ||
container_name: the-postgres | ||
environment: | ||
- POSTGRES_USER=postgres | ||
- POSTGRES_PASSWORD= | ||
- POSTGRES_HOST_AUTH_METHOD=trust | ||
volumes: | ||
- the-postgres:/var/lib/postgresql/data | ||
ports: | ||
- 5432:5432 | ||
mysql: | ||
image: mysql:8 | ||
container_name: the-mysql | ||
environment: | ||
- MYSQL_ALLOW_EMPTY_PASSWORD=yes | ||
volumes: | ||
- the-mysql:/var/lib/mysql | ||
ports: | ||
- 3306:3306 | ||
redis: | ||
image: redis:7 | ||
container_name: the-redis | ||
volumes: | ||
- the-redis:/data | ||
ports: | ||
- 6379:6379 | ||
|
||
volumes: | ||
the-postgres: | ||
name: the-postgres | ||
the-mysql: | ||
name: the-mysql | ||
the-redis: | ||
name: the-redis |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.