-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
53 lines (48 loc) · 981 Bytes
/
docker-compose.yaml
File metadata and controls
53 lines (48 loc) · 981 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
47
48
49
50
51
52
53
version: '3.7'
services:
nodejs:
build:
context: ./.docker
container_name: node
command: ['./.docker/run.sh']
depends_on:
- postgres
ports:
- '3333:3333'
- '4200:4200'
volumes:
- ./:/var/www:delegated
networks:
- app-network
postgres:
image: mdillon/postgis
container_name: postgresql
restart: unless-stopped
environment:
POSTGRES_DB: graphql_microservices_local
POSTGRES_USER: pgadmin
POSTGRES_PASSWORD: password
tty: true
ports:
- '5432:5432'
volumes:
- dbdata:/var/lib/postgresql/data
- ./postgresql/postgresql.conf:/etc/postgresql/postgresql.conf
networks:
- app-network
adminer-container:
image: adminer
container_name: adminer
restart: unless-stopped
ports:
- 8080:8080
networks:
- app-network
#Networks
networks:
app-network:
driver: bridge
#Volumes
volumes:
dbdata:
driver: local