Skip to content

Commit

Permalink
manage middlewares with docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
izumin5210 committed Mar 20, 2024
1 parent adfa728 commit 417a15f
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 454 deletions.
36 changes: 36 additions & 0 deletions config/.bin/compose.mw.yaml
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
52 changes: 0 additions & 52 deletions config/.bin/mid

This file was deleted.

100 changes: 0 additions & 100 deletions config/.bin/mid-datastore

This file was deleted.

126 changes: 0 additions & 126 deletions config/.bin/mid-pg

This file was deleted.

Loading

0 comments on commit 417a15f

Please sign in to comment.