Change prod workflow and add automatic deployment
All checks were successful
Release Build / build-docker (push) Successful in 9s
Release Build / build-android-and-release (push) Successful in 2m18s

This commit is contained in:
Rene Kievits
2025-12-24 07:51:51 +01:00
parent c140bb8292
commit 8552b44ffd
14 changed files with 250 additions and 82 deletions

View File

@@ -1,47 +1,23 @@
services:
mongo:
image: mongo:6
container_name: zen_mongo
restart: always
ports:
- "27017:27017"
volumes:
- mongo-data:/data/db
networks:
- zen-network
server:
build: ./server
build:
context: ./server
container_name: zen_server
restart: always
ports:
- "3000:3000"
env_file:
- .env
depends_on:
- mongo
- ./server/.env
networks:
- zen-network
volumes:
- ./server:/app
- /app/node_modules
client:
build:
context: ./client
target: dev-stage
container_name: zen_client
ports:
- "5173:5173"
env_file:
- .env
- ./client/.env
depends_on:
- server
networks:
- zen-network
volumes:
- ./client:/app
- /app/node_modules
volumes:
mongo-data: