mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
fix
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
EDGE_KEY="eyJzZXJ2ZXJVcmwiOiJodHRwOi8vbG9jYWxob3N0Ojg4ODcvIiwiYWdlbnRJZCI6IjAwNWVjODdiLWY1MzAtNDU5YS04MjM4LTgzZjdiNzZiYjEzOSIsIm1hc3RlcktleUI2NCI6Imt0cC9ZbXk3TE1lU2hkNEJHZ3I5RDBIeE5sYnozRExVUnRoVlYwQW8vek09In0="
|
||||
PROJECT_NAME="test-dev"
|
||||
DB_PG_2CD9_PORT="42597"
|
||||
DB_PG_2CD9_DB="pg_d7699b61"
|
||||
DB_PG_2CD9_USER="admin"
|
||||
DB_PG_2CD9_PASS="9e20bcd7e4e21cef"
|
||||
@@ -0,0 +1,14 @@
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"name": "pg_d7699b61",
|
||||
"database": "pg_d7699b61",
|
||||
"type": "postgresql",
|
||||
"username": "admin",
|
||||
"password": "9e20bcd7e4e21cef",
|
||||
"port": 42597,
|
||||
"host": "localhost",
|
||||
"generated_id": "b8edfd1e-00a6-412f-988d-62b477966578"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,42 @@
|
||||
name: test-dev
|
||||
services:
|
||||
app:
|
||||
container_name: test-dev-app
|
||||
restart: always
|
||||
image: portabase/agent:latest
|
||||
volumes:
|
||||
- ./databases.json:/config/config.json
|
||||
extra_hosts:
|
||||
- "localhost:host-gateway"
|
||||
environment:
|
||||
TZ: "Europe/Paris"
|
||||
EDGE_KEY: "${EDGE_KEY}"
|
||||
LOG: info
|
||||
networks:
|
||||
- portabase
|
||||
|
||||
|
||||
db-pg-2cd9:
|
||||
container_name: test-dev-db-pg-2cd9
|
||||
image: postgres:17-alpine
|
||||
networks:
|
||||
- portabase
|
||||
- default
|
||||
ports:
|
||||
- "${DB_PG_2CD9_PORT}:5432"
|
||||
volumes:
|
||||
- db-pg-2cd9-data:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_DB=${DB_PG_2CD9_DB}
|
||||
- POSTGRES_USER=${DB_PG_2CD9_USER}
|
||||
- POSTGRES_PASSWORD=${DB_PG_2CD9_PASS}
|
||||
|
||||
|
||||
volumes:
|
||||
db-pg-2cd9-data:
|
||||
|
||||
|
||||
networks:
|
||||
portabase:
|
||||
name: portabase_network
|
||||
external: true
|
||||
Reference in New Issue
Block a user