-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (39 loc) · 902 Bytes
/
docker-compose.yml
File metadata and controls
42 lines (39 loc) · 902 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
42
services:
vsat-web:
build: .
env_file:
- .env
environment:
# we explicitly override any value from the .env file
- DATABASE_URL=postgres://postgres:[email protected]:5432/vsat
ports:
- 3000:3000
depends_on:
- db
container_name: VSAT
labels:
- dev.dozzle.group=vsat
db:
# https://hub.docker.com/_/postgres/
image: postgres:17-bookworm
restart: unless-stopped
volumes:
- postgres-vsat:/var/lib/postgresql/data
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=vsat
ports:
- 5432:5432
container_name: DB
labels:
- dev.dozzle.group=vsat
dozzle:
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
ports:
- 8080:8080
container_name: Dozzle
volumes:
postgres-vsat: