-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yaml
47 lines (42 loc) · 980 Bytes
/
docker-compose.yaml
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
---
# This configuration file is for the **development** setup.
# It will launch Postgres and Redis containers, not the app itself.
services:
db:
container_name: ff-db
image: postgres:13-alpine
env_file:
- ".env"
restart: unless-stopped
ports:
- "127.0.0.1:5432:5432"
volumes:
- firefighter-pg-13:/var/lib/postgresql/data
security_opt:
- no-new-privileges:true
redis:
container_name: ff-redis
image: redis:6.2-alpine
restart: unless-stopped
ports:
- "127.0.0.1:6379:6379"
volumes:
- firefighter-redis:/data
security_opt:
- no-new-privileges:true
adminer:
container_name: ff-adminer
depends_on:
- db
image: adminer:4.8.1
restart: "no"
ports:
- "127.0.0.1:8080:8080"
security_opt:
- no-new-privileges:true
environment:
ADMINER_DEFAULT_SERVER: db
ADMINER_DESIGN: nette
volumes:
firefighter-pg-13:
firefighter-redis: