2023-07-28 16:42:28 +02:00
|
|
|
version: "3.8"
|
2023-04-12 21:23:32 +02:00
|
|
|
|
|
|
|
services:
|
|
|
|
coolify:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: ./docker/dev-ssu/Dockerfile
|
|
|
|
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 13:56:11 +01:00
|
|
|
PUSHER_HOST: "${PUSHER_HOST}"
|
2023-12-11 20:22:31 +01:00
|
|
|
PUSHER_PORT: "${PUSHER_PORT}"
|
2023-12-05 14:52:19 +01:00
|
|
|
PUSHER_SCHEME: "${PUSHER_SCHEME:-http}"
|
2023-12-05 13:56:11 +01: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 21:23:32 +02:00
|
|
|
volumes:
|
|
|
|
- .:/var/www/html/:cached
|
|
|
|
postgres:
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2023-04-12 21:23:32 +02:00
|
|
|
ports:
|
|
|
|
- "${FORWARD_DB_PORT:-5432}:5432"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
environment:
|
2023-06-23 11:48:28 +02:00
|
|
|
POSTGRES_USER: "${DB_USERNAME:-coolify}"
|
|
|
|
POSTGRES_PASSWORD: "${DB_PASSWORD:-password}"
|
|
|
|
POSTGRES_DB: "${DB_DATABASE:-coolify}"
|
2023-04-12 21:23:32 +02:00
|
|
|
POSTGRES_HOST_AUTH_METHOD: "trust"
|
|
|
|
volumes:
|
2023-10-19 13:32:03 +02:00
|
|
|
- /data/coolify/_volumes/database/:/var/lib/postgresql/data
|
2023-10-11 09:31:30 +02:00
|
|
|
# - coolify-pg-data-dev:/var/lib/postgresql/data
|
2023-05-10 09:26:25 +02:00
|
|
|
redis:
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2023-05-10 09:26:25 +02:00
|
|
|
ports:
|
|
|
|
- "${FORWARD_REDIS_PORT:-6379}:6379"
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
volumes:
|
2023-10-19 13:32:03 +02:00
|
|
|
- /data/coolify/_volumes/redis/:/data
|
2023-10-11 09:31:30 +02:00
|
|
|
# - coolify-redis-data-dev:/data
|
2023-12-05 13:56:11 +01:00
|
|
|
soketi:
|
|
|
|
env_file:
|
|
|
|
- .env
|
|
|
|
ports:
|
|
|
|
- "${FORWARD_SOKETI_PORT:-6001}:6001"
|
|
|
|
environment:
|
2023-12-13 11:12:53 +01:00
|
|
|
SOKETI_DEBUG: "false"
|
2023-12-05 13:56:11 +01: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 21:23:32 +02:00
|
|
|
vite:
|
2023-11-06 10:45:06 +01:00
|
|
|
image: node:20
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2023-04-12 21:23:32 +02:00
|
|
|
working_dir: /var/www/html
|
2023-12-05 12:13:57 +01:00
|
|
|
# environment:
|
2023-12-05 14:52:19 +01:00
|
|
|
# VITE_PUSHER_APP_KEY: "${PUSHER_APP_KEY:-coolify}"
|
2023-04-12 21:53:09 +02:00
|
|
|
ports:
|
|
|
|
- "${VITE_PORT:-5173}:${VITE_PORT:-5173}"
|
2023-04-12 21:23:32 +02:00
|
|
|
volumes:
|
|
|
|
- .:/var/www/html:cached
|
|
|
|
command: sh -c "npm install && npm run dev"
|
2023-12-13 11:35:53 +01:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-04-12 21:23:32 +02:00
|
|
|
testing-host:
|
2024-01-26 09:03:59 +01:00
|
|
|
image: "ghcr.io/coollabsio/coolify-testing-host:latest"
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2024-01-26 09:03:59 +01:00
|
|
|
init: true
|
2023-05-10 09:26:25 +02:00
|
|
|
container_name: coolify-testing-host
|
|
|
|
volumes:
|
2023-09-04 16:03:11 +02:00
|
|
|
- /:/host
|
2023-05-10 09:26:25 +02:00
|
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
2023-10-19 13:32:03 +02:00
|
|
|
- /data/coolify/:/data/coolify
|
2023-12-13 11:35:53 +01:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-05-19 18:01:56 +01:00
|
|
|
mailpit:
|
2023-07-28 16:42:28 +02:00
|
|
|
image: "axllent/mailpit:latest"
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2023-06-01 12:15:33 +02:00
|
|
|
container_name: coolify-mail
|
2023-05-19 18:01:56 +01:00
|
|
|
ports:
|
2023-07-28 16:42:28 +02:00
|
|
|
- "${FORWARD_MAILPIT_PORT:-1025}:1025"
|
|
|
|
- "${FORWARD_MAILPIT_DASHBOARD_PORT:-8025}:8025"
|
2023-06-01 12:15:33 +02:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-08-07 15:31:42 +02:00
|
|
|
minio:
|
|
|
|
image: minio/minio:latest
|
2024-01-26 10:52:58 +01:00
|
|
|
pull_policy: always
|
2023-08-07 15:31:42 +02: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 13:32:03 +02:00
|
|
|
- /data/coolify/_volumes/minio/:/data
|
2023-10-11 09:31:30 +02:00
|
|
|
# - coolify-minio-data-dev:/data
|
2023-08-07 15:31:42 +02:00
|
|
|
networks:
|
|
|
|
- coolify
|
2023-10-05 08:54:03 +02:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
coolify-data-dev:
|
|
|
|
coolify-pg-data-dev:
|
|
|
|
coolify-redis-data-dev:
|
|
|
|
coolify-minio-data-dev:
|
2023-12-13 11:12:53 +01:00
|
|
|
|
2023-12-13 11:35:53 +01:00
|
|
|
|
2023-12-13 11:12:53 +01:00
|
|
|
networks:
|
2023-12-13 11:35:53 +01:00
|
|
|
coolify:
|
|
|
|
name: coolify
|
|
|
|
external: false
|