lasthourcloud/docker-compose-dev.yaml

53 lines
1.3 KiB
YAML
Raw Normal View History

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: bash -c 'pnpm install && pnpm db:push && pnpm db:seed && pnpm dev'
2022-10-05 09:01:17 +00:00
environment:
2022-10-06 09:37:42 +00:00
- COOLIFY_CONTAINER_DEV=true
- COOLIFY_APP_ID=random-local-id
- COOLIFY_SECRET_KEY=12341234123412341234123412341234
- COOLIFY_DATABASE_URL=file:../db/dev.db
2022-10-05 09:01:17 +00: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
2022-10-05 13:34:52 +00:00
- target: 5555
published: 5555
protocol: tcp
mode: host
2022-10-05 09:01:17 +00:00
volumes:
- ./:/app
- '/var/run/docker.sock:/var/run/docker.sock'
2022-10-06 09:37:42 +00:00
- /tmp:/tmp
2022-10-05 09:01:17 +00:00
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:
2022-10-06 09:37:42 +00:00
- target: 24224
published: 24224
protocol: tcp
mode: host
2022-09-14 11:39:14 +00:00
networks:
- coolify-infra
networks:
coolify-infra:
attachable: true
name: coolify-infra