-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
42 lines (40 loc) · 884 Bytes
/
docker-compose.dev.yml
File metadata and controls
42 lines (40 loc) · 884 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
version: '3.8'
volumes:
pg-data:
services:
# node:
# build:
# context: .
# dockerfile: ./Dockerfile
# init: true
# command: npm run start:dev
# working_dir: /app
# depends_on:
# - mysql
# volumes:
# - .:/app
# ports:
# - '8080:8080'
# - '3900:3900'
postgres:
image: postgres
container_name: pg16
environment:
POSTGRES_DB: '${POSTGRES_DB}'
POSTGRES_USER: '${POSTGRES_USER}'
POSTGRES_PASSWORD: '${POSTGRES_PASSWORD}'
volumes:
- pg-data:/var/lib/postgresql/data
ports:
- '5432:5432'
pgadmin:
image: dpage/pgadmin4
restart: always
container_name: pgadmin4
environment:
PGADMIN_DEFAULT_EMAIL: '${PGADMIN_DEFAULT_EMAIL}'
PGADMIN_DEFAULT_PASSWORD: '${PGADMIN_DEFAULT_PASSWORD}'
ports:
- '5050:80'
depends_on:
- postgres