Skip to content

Commit 87174e0

Browse files
committed
chore(env): Update env and compose
1 parent e983e4b commit 87174e0

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

compose/deps.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ services:
4545
MINIO_ROOT_USER: ${OBB_S3_ACCESS_KEY_ID}
4646
MINIO_ROOT_PASSWORD: ${OBB_S3_SECRET_ACCESS_KEY}
4747
ports:
48-
- "9000:9000"
48+
- "${MINIO_API_PORT:-9000}:9000"
4949
volumes:
5050
- "/etc/localtime:/etc/localtime:ro"
5151
- '${PWD}/data/minio:/data'
@@ -73,8 +73,7 @@ services:
7373
image: mailhog/mailhog:v1.0.1
7474
restart: always
7575
ports:
76-
- "8025:8025" # Web UI
77-
- "1025:1025" # SMTP
76+
- "${MAILHOG_WEB_PORT:-8025}:8025" # Web UI
7877
volumes:
7978
- /etc/localtime:/etc/localtime:ro
8079
healthcheck:

example.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
OB_WEB_PORT=8080
2+
MAILHOG_WEB_PORT=8025
3+
MINIO_API_PORT=9000
24

35
OBB_LOG_LEVELS=error,warn,log
46

0 commit comments

Comments
 (0)