-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
45 lines (45 loc) · 932 Bytes
/
compose.dev.yaml
File metadata and controls
45 lines (45 loc) · 932 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
services:
db:
image: postgres:latest
environment:
- POSTGRES_USER=${POSTGRES_USER}
- POSTGRES_PASSWORD=${POSTGRES_PW}
- POSTGRES_DB=${POSTGRES_DB} #optional (specify default database instead of $POSTGRES_DB)
ports:
- '5432:5432'
restart: always
networks:
- pacmonnet
volumes:
- postgresdata:/var/lib/postgresql/data
hardhat:
build: hardhat
ports:
- '8545:8545'
restart: always
networks:
- pacmonnet
volumes:
- postgresdata:/app/cache
redis:
image: 'bitnami/redis:latest'
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '6379:6379'
restart: always
networks:
- pacmonnet
volumes:
- redisdata:/bitnami/redis/data
networks:
pacmonnet:
name: pacmonnet
external: true
volumes:
postgresdata:
driver: local
hardhatdata:
driver: local
redisdata:
driver: local