Skip to content

Commit

Permalink
Merge pull request #3 from Elastic-Suite/feat-dev-env
Browse files Browse the repository at this point in the history
Update network for local env
  • Loading branch information
PierreGauthier authored Apr 8, 2024
2 parents f509964 + b9c10e9 commit c027a11
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions docker-compose.override.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@

networks:
default:
name: 'connectors-proxy'
external: true
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ services:
- mysql-data:/var/lib/mysql:rw
# you may use a bind-mounted host directory instead, so that it is harder to accidentally remove the volume and lose all your data!
# - ./docker/mysql/data:/var/lib/mysql:rw,delegated
ports:
- "${MYSQL_PORT:-3306}:3306"
# ports:
# - "${MYSQL_PORT:-3306}:3306"
cap_add:
- SYS_NICE # prevent "mbind: Operation not permitted" errors

Expand Down Expand Up @@ -74,7 +74,7 @@ services:
# - ./public/media:/srv/sylius/public/media:ro
- public-media:/srv/sylius/public/media:ro,nocopy
ports:
- "${HTTP_PORT:-80}:80"
- "${HTTP_PORT:-8081}:80"

mailhog:
# do not use in production!
Expand All @@ -84,7 +84,7 @@ services:
# volumes:
# - ./docker/mailhog/maildir:/maildir:rw,delegated
ports:
- "${MAILHOG_PORT:-8025}:8025"
- "${MAILHOG_PORT:-8026}:8025"

volumes:
mysql-data:
Expand Down

0 comments on commit c027a11

Please sign in to comment.