-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
34 lines (34 loc) · 804 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
34 lines (34 loc) · 804 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
version: '3.8'
services:
redis:
container_name: sp_redis
image: redis:latest
restart: always
ports:
- 26379:6379
command: redis-server --requirepass 'password'
db:
container_name: sp_db
image: postgres:13.2-alpine
restart: always
ports:
- 25432:5432
volumes:
- ./db/docker/init:/docker-entrypoint-initdb.d
environment:
POSTGRES_USER: sp
POSTGRES_PASSWORD: sp
POSTGRES_DB: sp
POSTGRES_INITDB_ARGS: "--encoding=UTF-8"
vault:
container_name: sp_vault
image: vault:1.7.1
restart: always
ports:
- 28200:8200
volumes:
- ./vault/docker/file:/vault/file
- ./vault/docker/config:/vault/config
cap_add:
- IPC_LOCK
command: vault server -config=/vault/config/vault.json