diff --git a/.env.example b/.env.example index 4ddd616..f542a96 100644 --- a/.env.example +++ b/.env.example @@ -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 diff --git a/.gitignore b/.gitignore index 125b9b7..ff367b0 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index cbc912d..171e955 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 04f5308..f90e8a7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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