Environment setup
This commit is contained in:
parent
fed15ba072
commit
5c22dd35cf
24
.env.example
24
.env.example
@ -1,8 +1,10 @@
|
||||
############################################################################################################
|
||||
# Development Environment
|
||||
|
||||
# Userid for the user that will run the application inside the container
|
||||
# User and group id for the user that will run the application inside the container
|
||||
# Run in your terminal: `id -u` and `id -g` and that's the results
|
||||
USERID=
|
||||
GROUPID=
|
||||
############################################################################################################
|
||||
|
||||
APP_NAME=Laravel
|
||||
@ -11,10 +13,6 @@ APP_KEY=
|
||||
APP_DEBUG=true
|
||||
APP_URL=http://localhost
|
||||
|
||||
LOG_CHANNEL=stack
|
||||
LOG_DEPRECATIONS_CHANNEL=null
|
||||
LOG_LEVEL=debug
|
||||
|
||||
DB_CONNECTION=pgsql
|
||||
DB_HOST=postgres
|
||||
DB_PORT=5432
|
||||
@ -22,18 +20,4 @@ DB_DATABASE=coolify
|
||||
DB_USERNAME=sail
|
||||
DB_PASSWORD=password
|
||||
|
||||
BROADCAST_DRIVER=log
|
||||
CACHE_DRIVER=file
|
||||
FILESYSTEM_DISK=local
|
||||
QUEUE_CONNECTION=sync
|
||||
SESSION_DRIVER=file
|
||||
SESSION_LIFETIME=120
|
||||
|
||||
MAIL_MAILER=smtp
|
||||
MAIL_HOST=mailpit
|
||||
MAIL_PORT=1025
|
||||
MAIL_USERNAME=null
|
||||
MAIL_PASSWORD=null
|
||||
MAIL_ENCRYPTION=null
|
||||
MAIL_FROM_ADDRESS="hello@example.com"
|
||||
MAIL_FROM_NAME="${APP_NAME}"
|
||||
QUEUE_CONNECTION=redis
|
||||
|
@ -8,11 +8,11 @@ services:
|
||||
- "${APP_PORT:-8000}:80"
|
||||
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
||||
environment:
|
||||
PGID: "${USERID:-9999}"
|
||||
PUID: "${USERID:-9999}"
|
||||
PGID: "${GROUPID:-9999}"
|
||||
SSL_MODE: 'off'
|
||||
volumes:
|
||||
- .:/var/www/html:cached
|
||||
- .:/var/www/html
|
||||
postgres:
|
||||
image: postgres:15-alpine
|
||||
ports:
|
||||
@ -34,11 +34,7 @@ services:
|
||||
]
|
||||
retries: 3
|
||||
timeout: 5s
|
||||
mailpit:
|
||||
image: "axllent/mailpit:latest"
|
||||
ports:
|
||||
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
|
||||
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"
|
||||
|
||||
volumes:
|
||||
db-coolify:
|
||||
driver: local
|
||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "html",
|
||||
"name": "coolify",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
|
Loading…
Reference in New Issue
Block a user