Skip to content

Commit

Permalink
Update default ports
Browse files Browse the repository at this point in the history
  • Loading branch information
relliv committed Jun 27, 2024
1 parent 541c3e2 commit f02b5b5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost:9000
APP_PORT=9000
APP_URL=http://localhost:8001
APP_PORT=8001
APP_LOCALE=en
APP_TIMEZONE=UTC

Expand Down
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,14 @@
/public/build
/storage/*.key
/vendor

# env files
.env
.env.backup
.env.local
.env.prod
.env.staging

.phpunit.result.cache
Homestead.json
Homestead.yaml
Expand Down
7 changes: 3 additions & 4 deletions docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@ services:
ls_dev_app:
image: serversideup/php:8.2-fpm-nginx
container_name: ls_dev_app
stdin_open: true
tty: true
ports:
- ${APP_PORT}:8000
- ${APP_PORT}:80
volumes:
- ./:/var/www/html
environment:
RUN_LARAVEL_AUTOMATIONS: 'true'
AUTORUN_ENABLED: 'true'
AUTORUN_LARAVEL_STORAGE_LINK: 'false'
AUTORUN_LARAVEL_STORAGE_LINK: 'true'
AUTORUN_LARAVEL_MIGRATION: 'true'
SSL_MODE: 'off'
networks:
- db_net
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ services:
RUN_LARAVEL_AUTOMATIONS: 'false'
AUTORUN_ENABLED: 'true'
AUTORUN_LARAVEL_STORAGE_LINK: 'false'
AUTORUN_LARAVEL_MIGRATION: 'true'
SSL_MODE: 'off'
networks:
- db_net
Expand Down

0 comments on commit f02b5b5

Please sign in to comment.