Migration de la base de données : SQLite vers PostgreSQL #56

Merged
djalim merged 6 commits from feature/postgresMigration into develop 2026-04-21 10:07:45 +00:00
Showing only changes of commit 0f7282ba87 - Show all commits
+21 -5
View File
@@ -1,10 +1,26 @@
services:
app:
container_name: deno_fresh_app
build: .
image: registry.docker.polytech.djalim.fr/polympr:latest
ports:
- "80:80"
- "443:443"
- "8008:80"
- "4430:443"
volumes:
- .:/app
- /home/kevin/PolyMPR/:/app
command: deno run -A main.ts
deploy:
replicas: 1
placement:
constraints: [node.role == manager]
db:
image: postgres
restart: always
shm_size: 128mb
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASS}
deploy:
replicas: 1
placement:
constraints: [node.role == manager]