-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yaml
More file actions
46 lines (43 loc) · 915 Bytes
/
compose.yaml
File metadata and controls
46 lines (43 loc) · 915 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
43
44
45
46
services:
db:
image: postgres:latest
container_name: postgresql
environment:
- POSTGRES_PASSWORD=${DATABASE_PASSWORD}
- POSTGRES_USER=${DATABASE_USER}
- POSTGRES_DB=${DATABASE_NAME}
ports:
- "5432:5432"
volumes:
- data:/var/lib/postgresql/
networks:
- auth_service_backend
pgAdmin:
image: dpage/pgadmin4
container_name: pgAdmin
ports:
- "8000:80"
environment:
- PGADMIN_DEFAULT_EMAIL=${PGADMIN_DEFAULT_EMAIL}
- PGADMIN_DEFAULT_PASSWORD=${PGADMIN_DEFAULT_PASSWORD}
networks:
- auth_service_backend
# redis:
# build: redis
# ports:
# - "8080:80"
backend:
build: .
container_name: auth_service
environment:
- PORT=3000
depends_on:
- db
ports:
- "3000:3000"
networks:
- auth_service_backend
volumes:
data:
networks:
auth_service_backend: