2022-09-14 11:39:14 +00:00
|
|
|
version: '3.8'
|
|
|
|
|
|
|
|
services:
|
2022-10-05 09:01:17 +00:00
|
|
|
coolify:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile-dev
|
|
|
|
command: pnpm dev:container
|
|
|
|
env_file: apps/api/.env
|
|
|
|
environment:
|
|
|
|
- GITPOD_WORKSPACE_URL=${GITPOD_WORKSPACE_URL}
|
|
|
|
- CODESANDBOX_HOST=${CODESANDBOX_HOST}
|
|
|
|
container_name: coolify
|
|
|
|
ports:
|
|
|
|
- target: 3000
|
|
|
|
published: 3000
|
|
|
|
protocol: tcp
|
|
|
|
mode: host
|
|
|
|
- target: 3001
|
|
|
|
published: 3001
|
|
|
|
protocol: tcp
|
|
|
|
mode: host
|
|
|
|
volumes:
|
|
|
|
- ./:/app
|
|
|
|
- '/var/run/docker.sock:/var/run/docker.sock'
|
|
|
|
networks:
|
|
|
|
- coolify-infra
|
2022-09-15 07:34:39 +00:00
|
|
|
fluent-bit:
|
2022-09-15 08:56:19 +00:00
|
|
|
image: coollabsio/coolify-fluent-bit:1.0.0
|
2022-09-15 12:27:55 +00:00
|
|
|
command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit-dev.conf
|
2022-09-15 07:34:39 +00:00
|
|
|
container_name: coolify-fluentbit
|
|
|
|
volumes:
|
|
|
|
- ./logs:/logs
|
|
|
|
ports:
|
|
|
|
- "24224:24224"
|
2022-09-14 11:39:14 +00:00
|
|
|
networks:
|
|
|
|
- coolify-infra
|
|
|
|
networks:
|
|
|
|
coolify-infra:
|
|
|
|
attachable: true
|
|
|
|
name: coolify-infra
|