Environment setup
This commit is contained in:
24
.env.example
24
.env.example
@@ -1,8 +1,10 @@
|
|||||||
############################################################################################################
|
############################################################################################################
|
||||||
# Development Environment
|
# 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=
|
USERID=
|
||||||
|
GROUPID=
|
||||||
############################################################################################################
|
############################################################################################################
|
||||||
|
|
||||||
APP_NAME=Laravel
|
APP_NAME=Laravel
|
||||||
@@ -11,10 +13,6 @@ APP_KEY=
|
|||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://localhost
|
APP_URL=http://localhost
|
||||||
|
|
||||||
LOG_CHANNEL=stack
|
|
||||||
LOG_DEPRECATIONS_CHANNEL=null
|
|
||||||
LOG_LEVEL=debug
|
|
||||||
|
|
||||||
DB_CONNECTION=pgsql
|
DB_CONNECTION=pgsql
|
||||||
DB_HOST=postgres
|
DB_HOST=postgres
|
||||||
DB_PORT=5432
|
DB_PORT=5432
|
||||||
@@ -22,18 +20,4 @@ DB_DATABASE=coolify
|
|||||||
DB_USERNAME=sail
|
DB_USERNAME=sail
|
||||||
DB_PASSWORD=password
|
DB_PASSWORD=password
|
||||||
|
|
||||||
BROADCAST_DRIVER=log
|
QUEUE_CONNECTION=redis
|
||||||
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}"
|
|
||||||
|
@@ -8,11 +8,11 @@ services:
|
|||||||
- "${APP_PORT:-8000}:80"
|
- "${APP_PORT:-8000}:80"
|
||||||
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
||||||
environment:
|
environment:
|
||||||
PGID: "${USERID:-9999}"
|
|
||||||
PUID: "${USERID:-9999}"
|
PUID: "${USERID:-9999}"
|
||||||
|
PGID: "${GROUPID:-9999}"
|
||||||
SSL_MODE: 'off'
|
SSL_MODE: 'off'
|
||||||
volumes:
|
volumes:
|
||||||
- .:/var/www/html:cached
|
- .:/var/www/html
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:15-alpine
|
image: postgres:15-alpine
|
||||||
ports:
|
ports:
|
||||||
@@ -34,11 +34,7 @@ services:
|
|||||||
]
|
]
|
||||||
retries: 3
|
retries: 3
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
mailpit:
|
|
||||||
image: "axllent/mailpit:latest"
|
|
||||||
ports:
|
|
||||||
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
|
|
||||||
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"
|
|
||||||
volumes:
|
volumes:
|
||||||
db-coolify:
|
db-coolify:
|
||||||
driver: local
|
driver: local
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "html",
|
"name": "coolify",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
|
Reference in New Issue
Block a user