-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Lance-Drane <ldraneutk@gmail.com>
- Loading branch information
1 parent
83d0272
commit 2a252e9
Showing
5 changed files
with
157 additions
and
43 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,54 @@ | ||
# full software stack | ||
|
||
version: '3' | ||
services: | ||
db: | ||
image: mongo:6 | ||
restart: unless-stopped | ||
|
||
app: | ||
build: | ||
context: . | ||
restart: unless-stopped | ||
environment: | ||
MONGO_HOST: db | ||
MINIO_PRIVATE_URL: http://minio:9000 | ||
MINIO_PUBLIC_URL: http://localhost/files | ||
JAEGER_HOST: jaeger | ||
depends_on: | ||
- db | ||
- minio | ||
|
||
jaeger: | ||
image: jaegertracing/all-in-one:1.38 | ||
environment: | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
QUERY_BASE_PATH: /jaeger | ||
|
||
web: | ||
image: nginx | ||
ports: | ||
- 80:80 | ||
volumes: | ||
- ./nginx.conf:/etc/nginx/conf.d/default.conf | ||
depends_on: | ||
- app | ||
- jaeger | ||
|
||
mongo-express: | ||
image: mongo-express | ||
ports: | ||
- 8081:8081 | ||
environment: | ||
ME_CONFIG_MONGODB_SERVER: db | ||
depends_on: | ||
- db | ||
|
||
minio: | ||
image: "bitnami/minio:2024.6.4" | ||
environment: | ||
# references: https://github.com/bitnami/containers/blob/main/bitnami/minio/README.md | ||
MINIO_ROOT_USER: AKIAIOSFODNN7EXAMPLE | ||
MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | ||
#volumes: | ||
#- "./tmp/minio:/bitnami/minio/data" |
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 |
---|---|---|
@@ -1,52 +1,21 @@ | ||
# minimal needed while testing out the application | ||
|
||
version: '3' | ||
services: | ||
db: | ||
image: mongo:6 | ||
restart: unless-stopped | ||
|
||
app: | ||
build: | ||
context: . | ||
restart: unless-stopped | ||
environment: | ||
MONGO_HOST: db | ||
MINIO_PRIVATE_URL: http://minio:9000 | ||
MINIO_PUBLIC_URL: http://localhost/files | ||
JAEGER_HOST: jaeger | ||
depends_on: | ||
- db | ||
- minio | ||
|
||
jaeger: | ||
image: jaegertracing/all-in-one:1.38 | ||
environment: | ||
COLLECTOR_ZIPKIN_HOST_PORT: 9411 | ||
QUERY_BASE_PATH: /jaeger | ||
|
||
web: | ||
image: nginx | ||
ports: | ||
- 80:80 | ||
volumes: | ||
- ./nginx.conf:/etc/nginx/conf.d/default.conf | ||
depends_on: | ||
- app | ||
- jaeger | ||
- 27017:27017 | ||
|
||
mongo-express: | ||
image: mongo-express | ||
ports: | ||
- 8081:8081 | ||
environment: | ||
ME_CONFIG_MONGODB_SERVER: db | ||
depends_on: | ||
- db | ||
|
||
minio: | ||
image: "bitnami/minio:2024.6.4" | ||
environment: | ||
# references: https://github.com/bitnami/containers/blob/main/bitnami/minio/README.md | ||
MINIO_ROOT_USER: AKIAIOSFODNN7EXAMPLE | ||
MINIO_ROOT_PASSWORD: wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY | ||
ports: | ||
- 9000:9000 | ||
- 9001:9001 | ||
#volumes: | ||
#- "./tmp/minio:/bitnami/minio/data" |
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
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
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