-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 795 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 795 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
36
37
38
39
40
41
version: '3.8'
services:
lapdev:
build: .
container_name: lapdev-controller1
ports:
- "8080:80"
- "8443:443"
- "6123:6123"
volumes:
- ./lapdev.conf:/etc/lapdev.conf
- ssl_certs:/etc/lapdev/ssl
- lapdev_data:/var/lib/lapdev
- logs:/var/log
environment:
DB_HOST: postgres-server
DB_PORT: 5432
DB_NAME: lapdev
DB_USER: subaga
DB_PASSWORD: subaga2025
networks:
- dokploy-network
restart: unless-stopped
depends_on:
- wait-for-postgres
wait-for-postgres:
image: busybox
command: sh -c "until nc -z postgres-server 5432; do sleep 1; done"
networks:
- dokploy-network
volumes:
ssl_certs:
lapdev_data:
logs:
networks:
dokploy-network:
external: true