-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
48 lines (44 loc) · 924 Bytes
/
docker-compose.yml
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
43
44
45
46
47
48
version: '3.5'
services:
db:
image: postgres
restart: always
environment:
- POSTGRES_PASSWORD=postgres
container_name: postgres
volumes:
- ./pgdata:/var/lib/postgresql/data
networks:
- easy-push-network
app:
build:
context: .
dockerfile: Dockerfile
container_name: easy-push-container
environment:
- PORT=${PORT}
- JWT_SECRET=${JWT_SECRET}
- JWT_LIFETIME=${JWT_LIFETIME}
ports:
- ${PORT}:${PORT}
depends_on:
- db
volumes:
- ./src:/app/src
networks:
- easy-push-network
pgadmin:
image: dpage/pgadmin4
restart: always
container_name: nest-pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL=admin@admin.com
- PGADMIN_DEFAULT_PASSWORD=pgadmin4
ports:
- '5050:80'
depends_on:
- db
networks:
- easy-push-network
networks:
easy-push-network: