wip
This commit is contained in:
@@ -8,3 +8,7 @@ REDIS_PASSWORD=
|
|||||||
PUSHER_APP_ID=
|
PUSHER_APP_ID=
|
||||||
PUSHER_APP_KEY=
|
PUSHER_APP_KEY=
|
||||||
PUSHER_APP_SECRET=
|
PUSHER_APP_SECRET=
|
||||||
|
|
||||||
|
PUSHER_HOST=
|
||||||
|
PUSHER_PORT=
|
||||||
|
PUSHER_SCHEME=
|
||||||
|
8
docker-compose.custom.yml
Normal file
8
docker-compose.custom.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# This is for running Coolfiy behind Cloudflare Tunnel
|
||||||
|
# You need to expose the soketi port to the host and map it to a hostname
|
||||||
|
# For more details go to https://coolify.io/docs/cloudflare-tunnel
|
||||||
|
version: '3.8'
|
||||||
|
services:
|
||||||
|
soketi:
|
||||||
|
ports:
|
||||||
|
- 6001:6001
|
@@ -23,6 +23,7 @@ services:
|
|||||||
AUTORUN_LARAVEL_MIGRATION: "false"
|
AUTORUN_LARAVEL_MIGRATION: "false"
|
||||||
PUSHER_HOST: "${PUSHER_HOST}"
|
PUSHER_HOST: "${PUSHER_HOST}"
|
||||||
PUSHER_PORT: "${PUSHER_PORT:-6001}"
|
PUSHER_PORT: "${PUSHER_PORT:-6001}"
|
||||||
|
PUSHER_SCHEME: "${PUSHER_SCHEME:-http}"
|
||||||
PUSHER_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
PUSHER_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
||||||
PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
||||||
PUSHER_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
PUSHER_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
||||||
@@ -63,7 +64,7 @@ services:
|
|||||||
image: node:20
|
image: node:20
|
||||||
working_dir: /var/www/html
|
working_dir: /var/www/html
|
||||||
# environment:
|
# environment:
|
||||||
# VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
# VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
||||||
ports:
|
ports:
|
||||||
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
||||||
volumes:
|
volumes:
|
||||||
@@ -77,14 +78,14 @@ services:
|
|||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /data/coolify/:/data/coolify
|
- /data/coolify/:/data/coolify
|
||||||
# - coolify-data-dev:/data/coolify
|
# - coolify-data-dev:/data/coolify
|
||||||
# remote-host:
|
# remote-host:
|
||||||
# <<: *testing-host-base
|
# <<: *testing-host-base
|
||||||
# container_name: coolify-remote-host
|
# container_name: coolify-remote-host
|
||||||
# volumes:
|
# volumes:
|
||||||
# - /:/host
|
# - /:/host
|
||||||
# - /var/run/docker.sock:/var/run/docker.sock
|
# - /var/run/docker.sock:/var/run/docker.sock
|
||||||
# - /data/coolify/:/data/coolify
|
# - /data/coolify/:/data/coolify
|
||||||
# # - coolify-data-dev:/data/coolify
|
# # - coolify-data-dev:/data/coolify
|
||||||
mailpit:
|
mailpit:
|
||||||
image: "axllent/mailpit:latest"
|
image: "axllent/mailpit:latest"
|
||||||
container_name: coolify-mail
|
container_name: coolify-mail
|
||||||
|
@@ -137,9 +137,9 @@ if [ ! -f /data/coolify/source/.env ]; then
|
|||||||
sed -i "s|APP_KEY=.*|APP_KEY=base64:$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
sed -i "s|APP_KEY=.*|APP_KEY=base64:$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
||||||
sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
||||||
sed -i "s|REDIS_PASSWORD=.*|REDIS_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
sed -i "s|REDIS_PASSWORD=.*|REDIS_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env
|
||||||
# sed -i "s|PUSHER_APP_ID=.*|PUSHER_APP_ID=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
sed -i "s|PUSHER_APP_ID=.*|PUSHER_APP_ID=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
||||||
# sed -i "s|PUSHER_APP_KEY=.*|PUSHER_APP_KEY=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
sed -i "s|PUSHER_APP_KEY=.*|PUSHER_APP_KEY=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
||||||
# sed -i "s|PUSHER_APP_SECRET=.*|PUSHER_APP_SECRET=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
sed -i "s|PUSHER_APP_SECRET=.*|PUSHER_APP_SECRET=$(openssl rand -hex 32)|g" /data/coolify/source/.env
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Merge .env and .env.production. New values will be added to .env
|
# Merge .env and .env.production. New values will be added to .env
|
||||||
|
Reference in New Issue
Block a user