-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
35 lines (30 loc) · 818 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
35 lines (30 loc) · 818 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SupaPanel Development Docker Compose
# For production, use the docker-compose.yml generated by install.sh at /etc/supapanel/
version: "3.8"
name: supapanel-dev
networks:
supapanel-network:
driver: bridge
services:
# PostgreSQL Database (for testing production mode locally)
postgres:
image: postgres:16-alpine
container_name: supapanel-dev-postgres
restart: unless-stopped
ports:
- "5433:5432"
environment:
POSTGRES_USER: supapanel
POSTGRES_PASSWORD: supapanel_dev_password
POSTGRES_DB: supapanel
volumes:
- postgres_dev_data:/var/lib/postgresql/data
networks:
- supapanel-network
healthcheck:
test: [ "CMD-SHELL", "pg_isready -U supapanel" ]
interval: 5s
timeout: 5s
retries: 5
volumes:
postgres_dev_data: