-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (38 loc) · 853 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (38 loc) · 853 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"
services:
trackflixDB:
container_name: trackflixDB
platform: linux/amd64
image: postgres:15.5
env_file: .env
restart: unless-stopped
volumes:
- trackflix-data:/var/lib/postgresql/data
environment:
POSTGRES_USER: ${DATABASE_USERNAME}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
POSTGRES_DB: ${DATABASE_NAME}
ports:
- "5432:5432"
networks:
- trackflix
pgadmin:
image: dpage/pgadmin4
container_name: pgadmin4_container
restart: always
ports:
- "8888:80"
environment:
PGADMIN_DEFAULT_EMAIL: admin@trackit.io
PGADMIN_DEFAULT_PASSWORD: password
volumes:
- pgadmin-data:/var/lib/pgadmin
networks:
- trackflix
volumes:
trackflix-data:
pgadmin-data:
networks:
trackflix:
name: Trackflix
driver: bridge