This commit is contained in:
Andras Bacsai 2023-03-16 12:01:57 +01:00
parent e1f84b277a
commit e44dca2464
5 changed files with 6 additions and 6 deletions

View File

@ -38,7 +38,7 @@ RUN curl -SL https://cdn.coollabs.io/bin/$TARGETPLATFORM/pack-$PACK_VERSION -o /
RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/docker /usr/local/bin/pack RUN chmod +x ~/.docker/cli-plugins/docker-compose /usr/bin/docker /usr/local/bin/pack
COPY --from=build /app/apps/api/build/ . COPY --from=build /app/apps/api/build/ .
COPY --from=build /app/others/fluentbit/ ./fluentbit # COPY --from=build /app/others/fluentbit/ ./fluentbit
COPY --from=build /app/apps/ui/build/ ./public COPY --from=build /app/apps/ui/build/ ./public
COPY --from=build /app/apps/api/prisma/ ./prisma COPY --from=build /app/apps/api/prisma/ ./prisma
COPY --from=build /app/apps/api/package.json . COPY --from=build /app/apps/api/package.json .

View File

@ -230,7 +230,7 @@
description: "Open Source realtime backend in 1 file" description: "Open Source realtime backend in 1 file"
services: services:
$$id: $$id:
image: coollabsio/pocketbase:$$core_version image: ghcr.io/coollabsio/pocketbase:$$core_version
volumes: volumes:
- $$id-data:/app/pb_data - $$id-data:/app/pb_data
ports: ports:

View File

@ -34,7 +34,7 @@ services:
networks: networks:
- coolify-infra - coolify-infra
fluent-bit: fluent-bit:
image: coollabsio/coolify-fluent-bit:1.0.0 image: ghcr.io/coollabsio/fluent-bit:1.0.0
command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit-dev.conf command: /fluent-bit/bin/fluent-bit -c /fluent-bit/etc/fluent-bit-dev.conf
container_name: coolify-fluentbit container_name: coolify-fluentbit
volumes: volumes:

View File

@ -2,7 +2,7 @@ version: '3.8'
services: services:
coolify: coolify:
image: coollabsio/coolify:${TAG:-latest} image: ghcr.io/coollabsio/coolify:${TAG:-latest}
restart: always restart: always
container_name: coolify container_name: coolify
ports: ports:
@ -23,7 +23,7 @@ services:
networks: networks:
- coolify-infra - coolify-infra
fluent-bit: fluent-bit:
image: coollabsio/coolify-fluent-bit:1.0.0 image: ghcr.io/coollabsio/fluent-bit:1.0.0
container_name: coolify-fluentbit container_name: coolify-fluentbit
volumes: volumes:
- 'coolify-logs:/app/logs' - 'coolify-logs:/app/logs'

View File

@ -32,7 +32,7 @@
"build:api": "NODE_ENV=production pnpm run --filter api build", "build:api": "NODE_ENV=production pnpm run --filter api build",
"build:ui": "NODE_ENV=production pnpm run --filter ui build", "build:ui": "NODE_ENV=production pnpm run --filter ui build",
"dockerlogin": "echo $DOCKER_PASS | docker login --username=$DOCKER_USER --password-stdin", "dockerlogin": "echo $DOCKER_PASS | docker login --username=$DOCKER_USER --password-stdin",
"release:staging:amd": "docker build -t coollabsio/coolify:next . && docker push coollabsio/coolify:next", "release:staging:amd": "docker build -t ghcr.io/coollabsio/coolify:next . && docker push ghcr.io/coollabsio/coolify:next",
"release:local": "rm -fr ./local-serve && mkdir ./local-serve && pnpm build && cp -Rp apps/api/build/* ./local-serve && cp -Rp apps/ui/build/ ./local-serve/public && cp -Rp apps/api/prisma/ ./local-serve/prisma && cp -Rp apps/api/package.json ./local-serve && env | grep '^COOLIFY_' > ./local-serve/.env && cd ./local-serve && pnpm install . && pnpm start" "release:local": "rm -fr ./local-serve && mkdir ./local-serve && pnpm build && cp -Rp apps/api/build/* ./local-serve && cp -Rp apps/ui/build/ ./local-serve/public && cp -Rp apps/api/prisma/ ./local-serve/prisma && cp -Rp apps/api/package.json ./local-serve && env | grep '^COOLIFY_' > ./local-serve/.env && cd ./local-serve && pnpm install . && pnpm start"
}, },
"devDependencies": { "devDependencies": {