coolify/docker-compose-dev.yaml

44 lines
1.1 KiB
YAML
Raw Normal View History

2022-09-14 13:39:14 +02:00
version: '3.8'
services:
2022-10-05 11:01:17 +02:00
coolify:
build:
context: .
dockerfile: Dockerfile-dev
command: bash -c 'pnpm install && pnpm db:push && pnpm db:seed && pnpm dev'
2022-10-05 11:01:17 +02:00
environment:
- COOLIFY_APP_ID=random-local-id
- COOLIFY_SECRET_KEY=12341234123412341234123412341234
- COOLIFY_DATABASE_URL=file:../db/dev.db
2022-10-05 11:01:17 +02:00
- 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 09:34:39 +02:00
fluent-bit:
2022-09-15 10:56:19 +02:00
image: coollabsio/coolify-fluent-bit:1.0.0
2022-09-15 14:27:55 +02:00
command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit-dev.conf
2022-09-15 09:34:39 +02:00
container_name: coolify-fluentbit
volumes:
- ./logs:/logs
ports:
- "24224:24224"
2022-09-14 13:39:14 +02:00
networks:
- coolify-infra
networks:
coolify-infra:
attachable: true
name: coolify-infra