-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🏗️ reorganize docker configuration with clean architecture
- Loading branch information
Adnane Miliari
committed
Nov 28, 2024
1 parent
1127bed
commit 946ed8e
Showing
3 changed files
with
88 additions
and
4 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,57 @@ | ||
services: | ||
postgres: | ||
container_name: postgres-local | ||
image: postgres:15.5-alpine | ||
environment: | ||
POSTGRES_USER: postgres | ||
POSTGRES_PASSWORD: password | ||
PGDATA: /data/postgres | ||
volumes: | ||
- postgres-local:/data/postgres | ||
ports: | ||
- "5432:5432" | ||
networks: | ||
- postgres-local | ||
restart: unless-stopped | ||
|
||
pgadmin: | ||
container_name: pgadmin-local | ||
image: dpage/pgadmin4 | ||
environment: | ||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_DEFAULT_EMAIL:[email protected]} | ||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_DEFAULT_PASSWORD:-admin} | ||
PGADMIN_CONFIG_SERVER_MODE: 'False' | ||
volumes: | ||
- pgadmin-local:/var/lib/pgadmin | ||
ports: | ||
- "5050:80" | ||
networks: | ||
- postgres-local | ||
restart: unless-stopped | ||
|
||
zipkin: | ||
image: openzipkin/zipkin:latest | ||
container_name: zipkin-local | ||
ports: | ||
- "9411:9411" | ||
networks: | ||
- spring-local | ||
|
||
rabbitmq: | ||
image: rabbitmq:3.12-management-alpine | ||
container_name: rabbitmq-local | ||
ports: | ||
- "5672:5672" | ||
- "15672:15672" | ||
networks: | ||
- spring-local | ||
|
||
networks: | ||
postgres-local: | ||
driver: bridge | ||
spring-local: | ||
driver: bridge | ||
|
||
volumes: | ||
postgres-local: | ||
pgadmin-local: |
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
File renamed without changes.