Last active 1769796310

Portabase Docker Compose

.env.example Raw
1# Base de données
2DATABASE_URL=postgresql://devuser:changeme@localhost:5433/devdb?schema=public
3
4# Projet
5PROJECT_NAME="Portabase"
6PROJECT_DESCRIPTION="Portabase is a powerful database manager"
7PROJECT_URL=http://localhost:8887
8PROJECT_SECRET=
9
10# SMTP (email)
11SMTP_HOST=
12SMTP_PORT=
13SMTP_USER=
14SMTP_PASSWORD=
15SMTP_FROM=
16#SMTP_SECURE="true"
17#Port 587 -> secure: false
18#Port 465 -> secure: true
19#By default : true
20
21# Google
22AUTH_GOOGLE_ID=
23AUTH_GOOGLE_SECRET=
24AUTH_GOOGLE_METHOD=
25
26# Retention
27RETENTION_CRON="* * * * *"
28
docker-compose.yml Raw
1services:
2 app:
3 container_name: portabase
4 image: solucetechnologies/portabase:latest
5 ports:
6 - '8887:80'
7 environment:
8 TZ: "Europe/Paris"
9 env_file:
10 - .env
11 depends_on:
12 db:
13 condition: service_healthy
14 container_name: portabase-app-prod
15
16 db:
17 image: postgres:16-alpine
18 ports:
19 - "5433:5432"
20 volumes:
21 - postgres-data:/var/lib/postgresql/data
22 environment:
23 - POSTGRES_DB=devdb
24 - POSTGRES_USER=devuser
25 - POSTGRES_PASSWORD=changeme
26 healthcheck:
27 test: [ "CMD-SHELL", "pg_isready -U devuser -d devdb" ]
28 interval: 10s
29 timeout: 5s
30 retries: 5
31
32volumes:
33 postgres-data: