This commit is contained in:
Andras Bacsai 2023-06-12 17:49:11 +02:00
parent 118e4fd089
commit 6077a1c448
4 changed files with 8 additions and 28 deletions

View File

@ -1,4 +1,3 @@
SELF_HOSTED=true
############################################################################################################
# Development Environment
@ -6,33 +5,14 @@ SELF_HOSTED=true
# Run in your terminal: `id -u` and `id -g` and that's the results
USERID=
GROUPID=
PROJECT_PATH_ON_HOST=/Users/your-username-here/code/coollabsio/coolify
SERVEO_URL=<for receiving webhooks locally https://serveo.net/>
MUX_ENABLED=false
# If you are using the included Buggregator
RAY_HOST=ray@host.docker.internal
RAY_PORT=8001
############################################################################################################
APP_NAME=Coolify
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_PORT=8000
MAIL_MAILER=smtp
MAIL_HOST=coolify-mail
MAIL_PORT=1025
SESSION_DRIVER=database
DUSK_DRIVER_URL=http://selenium:4444
DB_CONNECTION=pgsql
DB_HOST=postgres
DB_PORT=5432
DB_DATABASE=coolify
DB_USERNAME=coolify
DB_PASSWORD=password
QUEUE_CONNECTION=redis
REDIS_HOST=coolify-redis

View File

@ -7,10 +7,10 @@
// The release version of your application
// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))
'release' => config('version'),
'release' => trim(exec('jq -r .coolify.v4.version ../versions.json')),
// When left empty or `null` the Laravel environment will be used
'environment' => env('SENTRY_ENVIRONMENT'),
'environment' => config('app.env'),
'breadcrumbs' => [
// Capture Laravel logs in breadcrumbs

View File

@ -44,16 +44,16 @@ services:
volumes:
- coolify-db:/var/lib/postgresql/data
environment:
POSTGRES_USER: "${DB_USERNAME}"
POSTGRES_USER: "${DB_USERNAME:-coolify}"
POSTGRES_PASSWORD: "${DB_PASSWORD}"
POSTGRES_DB: "${DB_DATABASE}"
POSTGRES_DB: "${DB_DATABASE:-coolify}"
healthcheck:
test:
[
"CMD-SHELL",
"pg_isready -U ${DB_USERNAME}",
"pg_isready -U ${DB_USERNAME:-coolify}",
"-d",
"${DB_DATABASE}"
"${DB_DATABASE:-coolify}"
]
interval: 2s
retries: 5

View File

@ -1,6 +1,6 @@
FROM serversideup/php:8.2-fpm-nginx
ARG POSTGRES_VERSION=15
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs postgresql-client
RUN apt-get update && apt-get install -y php-pgsql openssh-client git git-lfs jq
RUN apt-get -y autoremove && apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /usr/share/doc/*
COPY docker/dev-ssu/nginx.conf /etc/nginx/conf.d/custom.conf