Skip to content

Commit 30eb3d6

Browse files
authored
Merge pull request #10 from Portabase/feat/module
feat: Redis,Valkey,MSSQL
2 parents 5889f36 + be843f7 commit 30eb3d6

10 files changed

Lines changed: 1204 additions & 573 deletions

File tree

.github/assets/templates/agent.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
1-
name: ${PROJECT_NAME}
21
services:
3-
app:
4-
container_name: ${PROJECT_NAME}-app
5-
restart: always
2+
agent:
3+
restart: unless-stopped
64
image: portabase/agent:latest
75
volumes:
86
- ./databases.json:/config/config.json
9-
extra_hosts:
10-
- "localhost:host-gateway"
117
environment:
12-
TZ: "Europe/Paris"
8+
TZ: "${TZ}"
139
EDGE_KEY: "${EDGE_KEY}"
14-
LOG: info
10+
LOG_LEVEL: "${LOG_LEVEL}"
11+
POLLING: "${POLLING}"
12+
DATA_PATH: "${DATA_PATH}"
1513
networks:
1614
- portabase
1715

@@ -22,4 +20,4 @@ services:
2220
networks:
2321
portabase:
2422
name: portabase_network
25-
external: true
23+
external: true
Lines changed: 43 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,46 @@
11
name: ${PROJECT_NAME}
22
services:
3-
portabase:
4-
container_name: ${PROJECT_NAME}-app
5-
image: portabase/portabase:latest
6-
env_file:
7-
- .env
8-
ports:
9-
- "${HOST_PORT}:80"
10-
environment:
11-
- TIME_ZONE=Europe/Paris
12-
volumes:
13-
- portabase-data:/data
14-
depends_on:
15-
db:
16-
condition: service_healthy
17-
db:
18-
container_name: ${PROJECT_NAME}-pg
19-
image: postgres:17-alpine
20-
ports:
21-
- "${PG_PORT}:5432"
22-
volumes:
23-
- postgres-data:/var/lib/postgresql/data
24-
environment:
25-
- POSTGRES_DB=${POSTGRES_DB}
26-
- POSTGRES_USER=${POSTGRES_USER}
27-
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
28-
healthcheck:
29-
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
30-
interval: 10s
31-
timeout: 5s
32-
retries: 5
3+
portabase:
4+
container_name: ${PROJECT_NAME}-app
5+
image: portabase/portabase:latest
6+
restart: unless-stopped
7+
env_file:
8+
- .env
9+
ports:
10+
- "${HOST_PORT}:80"
11+
environment:
12+
- TZ=${TZ}
13+
- LOG_LEVEL=${LOG_LEVEL}
14+
- PROJECT_SECRET=${PROJECT_SECRET}
15+
- PROJECT_URL=${PROJECT_URL}
16+
volumes:
17+
- portabase-data:/data
18+
depends_on:
19+
db:
20+
condition: service_healthy
21+
healthcheck:
22+
test: ["CMD-SHELL", "curl -f http://localhost/api/health"]
23+
interval: 30s
24+
timeout: 5s
25+
retries: 3
26+
start_period: 60s
27+
db:
28+
container_name: ${PROJECT_NAME}-pg
29+
image: postgres:17-alpine
30+
restart: unless-stopped
31+
ports:
32+
- "${PG_PORT}:5432"
33+
volumes:
34+
- postgres-data:/var/lib/postgresql/data
35+
environment:
36+
- POSTGRES_DB=${POSTGRES_DB}
37+
- POSTGRES_USER=${POSTGRES_USER}
38+
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
39+
healthcheck:
40+
test: ["CMD-SHELL", "pg_isready -U ${POSTGRES_USER} -d ${POSTGRES_DB}"]
41+
interval: 10s
42+
timeout: 5s
43+
retries: 5
3344
volumes:
34-
postgres-data:
35-
portabase-data:
45+
postgres-data:
46+
portabase-data:

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ keywords:
2323
- integration
2424
license: Apache-2.0
2525
version: 26.04.1
26-
date-released: "2026-04-20"
26+
date-released: "2026-04-20"

0 commit comments

Comments
 (0)