Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ services:
CRYSTAL_PATH: lib:/lib/local-shards:/usr/share/crystal/src
REDIS_URL: redis://redis:6379
TZ: $TZ
PLACE_SMTP_HOST: smtp
PLACE_SMTP_PORT: 1025
cap_add:
- "SYS_PTRACE"
security_opt:
Expand Down Expand Up @@ -72,3 +74,12 @@ services:
- ${PWD}/shard.override.yml:/wd/shard.override.yml
- ${PWD}/.shards:/wd/.shards
- ${PWD}/lib:/wd/lib

smtp:
image: sj26/mailcatcher
hostname: smtp
restart: always
ports:
- 127.0.0.1:1080:1080
# - 127.0.0.1:1025:1025
# command: --ip 0.0.0.0
5 changes: 3 additions & 2 deletions harness
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,9 @@ up() {
docker compose pull
echo '░░░ -> Starting environment...'
docker compose up -d
printf "░░░ The harness can be found at http://localhost:8085/index.html\n"
echo '░░░ Stop the harness with `harness down`'
printf "░░░ The harness can be found at http://localhost:8085\n"
printf "░░░ mailcatcher can be found at http://localhost:1080\n"
echo '░░░ Stop the harness and mailcatcher with `harness down`'
say_done
}

Expand Down
Loading