2023-04-12 19:23:32 +00:00
|
|
|
services:
|
|
|
|
coolify:
|
|
|
|
build:
|
|
|
|
context: .
|
2024-03-07 23:59:40 +00:00
|
|
|
dockerfile: /data/coolify/source/docker/dev-ssu/Dockerfile
|
2023-04-12 19:23:32 +00:00
|
|
|
ports:
|
|
|
|
- "${APP_PORT:-8000}:80"
|
|
|
|
environment:
|
|
|
|
PUID: "${USERID:-1000}"
|
|
|
|
PGID: "${GROUPID:-1000}"
|
|
|
|
SSL_MODE: "off"
|
|
|
|
AUTORUN_LARAVEL_STORAGE_LINK: "false"
|
|
|
|
AUTORUN_LARAVEL_MIGRATION: "false"
|
2023-12-05 12:56:11 +00:00
|
|
|
PUSHER_HOST: "${PUSHER_HOST}"
|
2023-12-11 19:22:31 +00:00
|
|
|
PUSHER_PORT: "${PUSHER_PORT}"
|
2023-12-05 13:52:19 +00:00
|
|
|
PUSHER_SCHEME: "${PUSHER_SCHEME:-http}"
|
2023-12-05 12:56:11 +00:00
|
|
|
PUSHER_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
|
|
|
PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
|
|
|
PUSHER_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
2023-04-12 19:23:32 +00:00
|
|
|
volumes:
|
|
|
|
- .:/var/www/html/:cached
|
|
|
|
postgres:
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2023-04-12 19:23:32 +00:00
|
|
|
ports:
|
|
|
|
- "${FORWARD_DB_PORT:-5432}:5432"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
2023-06-23 09:48:28 +00:00
|
|
|
POSTGRES_USER: "${DB_USERNAME:-coolify}"
|
|
|
|
POSTGRES_PASSWORD: "${DB_PASSWORD:-password}"
|
|
|
|
POSTGRES_DB: "${DB_DATABASE:-coolify}"
|
2023-04-12 19:23:32 +00:00
|
|
|
POSTGRES_HOST_AUTH_METHOD: "trust"
|
|
|
|
volumes:
|
2023-10-19 11:32:03 +00:00
|
|
|
- /data/coolify/_volumes/database/:/var/lib/postgresql/data
|
2023-10-11 07:31:30 +00:00
|
|
|
# - coolify-pg-data-dev:/var/lib/postgresql/data
|
2023-05-10 07:26:25 +00:00
|
|
|
redis:
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2023-05-10 07:26:25 +00:00
|
|
|
ports:
|
|
|
|
- "${FORWARD_REDIS_PORT:-6379}:6379"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
2023-10-19 11:32:03 +00:00
|
|
|
- /data/coolify/_volumes/redis/:/data
|
2023-10-11 07:31:30 +00:00
|
|
|
# - coolify-redis-data-dev:/data
|
2023-12-05 12:56:11 +00:00
|
|
|
soketi:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- "${FORWARD_SOKETI_PORT:-6001}:6001"
|
|
|
|
environment:
|
2023-12-13 10:12:53 +00:00
|
|
|
SOKETI_DEBUG: "false"
|
2023-12-05 12:56:11 +00:00
|
|
|
SOKETI_DEFAULT_APP_ID: "${PUSHER_APP_ID:-coolify}"
|
|
|
|
SOKETI_DEFAULT_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
|
|
|
SOKETI_DEFAULT_APP_SECRET: "${PUSHER_APP_SECRET:-coolify}"
|
2023-04-12 19:23:32 +00:00
|
|
|
vite:
|
2023-11-06 09:45:06 +00:00
|
|
|
image: node:20
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2023-04-12 19:23:32 +00:00
|
|
|
working_dir: /var/www/html
|
2023-12-05 11:13:57 +00:00
|
|
|
# environment:
|
2023-12-05 13:52:19 +00:00
|
|
|
# VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
2023-04-12 19:53:09 +00:00
|
|
|
ports:
|
|
|
|
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
2023-04-12 19:23:32 +00:00
|
|
|
volumes:
|
|
|
|
- .:/var/www/html:cached
|
|
|
|
command: sh -c "npm install && npm run dev"
|
2023-12-13 10:35:53 +00:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-04-12 19:23:32 +00:00
|
|
|
testing-host:
|
2024-01-26 08:03:59 +00:00
|
|
|
image: "ghcr.io/coollabsio/coolify-testing-host:latest"
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2024-01-26 08:03:59 +00:00
|
|
|
init: true
|
2023-05-10 07:26:25 +00:00
|
|
|
container_name: coolify-testing-host
|
|
|
|
volumes:
|
2023-09-04 14:03:11 +00:00
|
|
|
- /:/host
|
2023-05-10 07:26:25 +00:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-10-19 11:32:03 +00:00
|
|
|
- /data/coolify/:/data/coolify
|
2023-12-13 10:35:53 +00:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-05-19 17:01:56 +00:00
|
|
|
mailpit:
|
2023-07-28 14:42:28 +00:00
|
|
|
image: "axllent/mailpit:latest"
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2023-06-01 10:15:33 +00:00
|
|
|
container_name: coolify-mail
|
2023-05-19 17:01:56 +00:00
|
|
|
ports:
|
2023-07-28 14:42:28 +00:00
|
|
|
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
|
|
|
|
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"
|
2023-06-01 10:15:33 +00:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-08-07 13:31:42 +00:00
|
|
|
minio:
|
|
|
|
image: minio/minio:latest
|
2024-01-26 09:52:58 +00:00
|
|
|
pull_policy: always
|
2023-08-07 13:31:42 +00:00
|
|
|
container_name: coolify-minio
|
|
|
|
command: server /data --console-address ":9001"
|
|
|
|
ports:
|
|
|
|
- "${FORWARD_MINIO_PORT:-9000}:9000"
|
|
|
|
- "${FORWARD_MINIO_PORT_CONSOLE:-9001}:9001"
|
|
|
|
environment:
|
|
|
|
MINIO_ACCESS_KEY: "${MINIO_ACCESS_KEY:-minioadmin}"
|
|
|
|
MINIO_SECRET_KEY: "${MINIO_SECRET_KEY:-minioadmin}"
|
|
|
|
volumes:
|
2023-10-19 11:32:03 +00:00
|
|
|
- /data/coolify/_volumes/minio/:/data
|
2023-10-11 07:31:30 +00:00
|
|
|
# - coolify-minio-data-dev:/data
|
2023-08-07 13:31:42 +00:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-10-05 06:54:03 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
coolify-data-dev:
|
|
|
|
coolify-pg-data-dev:
|
|
|
|
coolify-redis-data-dev:
|
|
|
|
coolify-minio-data-dev:
|
2023-12-13 10:12:53 +00:00
|
|
|
|
|
|
|
networks:
|
2023-12-13 10:35:53 +00:00
|
|
|
coolify:
|
|
|
|
name: coolify
|
|
|
|
external: false
|