use docker stack compose format
Some checks failed
ci / test (push) Failing after 1m44s
fp/our CI/CD / build (push) Has been cancelled

This commit is contained in:
CJ_Clippy 2025-09-28 21:01:11 -08:00
parent 90aa4da02a
commit 5f3c8ac47a
2 changed files with 3 additions and 15 deletions

View File

@ -1,8 +1,5 @@
services:
postgres:
container_name: our-postgres
image: postgres:17
restart: unless-stopped
env_file: ./.env
@ -17,27 +14,20 @@ services:
server:
image: gitea.futureporn.net/futureporn/our:latest
container_name: our-server
env_file: ./.env
depends_on:
postgres:
condition: service_healthy
pull_policy: always
- postgres
init: true
entrypoint: >
sh -c "npx prisma migrate deploy && npm run start:server"
volumes:
- /mnt/vfs/futureporn:/mnt/vfs/futureporn
worker:
image: gitea.futureporn.net/futureporn/our:latest
container_name: our-worker
env_file: ./.env
depends_on:
postgres:
condition: service_healthy
pull_policy: always
- postgres
init: true
entrypoint: >
sh -c "npm run start:worker"
@ -54,5 +44,3 @@ services:
volumes:
pgdata:

View File

@ -1,7 +1,7 @@
{
"name": "futureporn-our",
"private": true,
"version": "2.8.21",
"version": "2.8.22",
"type": "module",
"scripts": {
"dev": "concurrently npm:dev:serve npm:dev:build:server npm:dev:build:client npm:dev:worker npm:dev:compose npm:dev:sftp npm:dev:qbittorrent npm:dev:tailscale",