-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
51 lines (51 loc) · 1.11 KB
/
docker-compose.yml
File metadata and controls
51 lines (51 loc) · 1.11 KB
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
49
50
51
version: '3'
services:
postgres:
image: 'postgres:latest'
environment:
- POSTGRES_PASSWORD=postgres_password
ports:
- '5432:5432'
nginx:
restart: always
build:
dockerfile: Dockerfile.dev
context: ./nginx
ports:
- '3050:80'
api:
restart: always
build:
dockerfile: Dockerfile.dev
context: ./api
volumes:
- /app/node_modules
- ./api:/app
environment:
- PGUSER=postgres
- PGHOST=postgres
- PGDATABASE=postgres
- PGPASSWORD=postgres_password
- PGPORT=5432
- ACCESSKEYID=
- SECRETACCESSKEY=
- REGION=
client:
restart: always
stdin_open: true
build:
dockerfile: Dockerfile.dev
context: ./client
volumes:
- /app/node_modules
- ./client:/app
# polling setting for Docker. activate auto reload when file change.
environment:
- CHOKIDAR_USEPOLLING=true
pgadmin:
image: 'dpage/pgadmin4'
ports:
- '5555:80'
environment:
- PGADMIN_DEFAULT_EMAIL=hussein_demo_Ea625xpCJWhC@gmail.com
- PGADMIN_DEFAULT_PASSWORD=password