-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (62 loc) · 1.23 KB
/
docker-compose.yml
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
version: "3"
services:
postgresql:
image: postgres:14-alpine
ports:
- "5432:5432"
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=postgres
networks:
default:
ipv4_address: 172.96.0.2
vault:
image: vault:1.10.2
ports:
- "8200:8200"
environment:
- VAULT_DEV_ROOT_TOKEN_ID=dev-token
cap_add:
- IPC_LOCK
volumes:
- ./docker/vault.hcl:/vault/config/vault.hcl
networks:
default:
ipv4_address: 172.96.0.3
depends_on:
- postgresql
redis:
image: redis:7-alpine
ports:
- "6379:6379"
networks:
default:
ipv4_address: 172.96.0.4
dns:
image: wafflehacks/dns:latest
environment:
- REDIS_URL=172.96.0.4:6379
- "REDIS_PREFIX=dns:"
networks:
default:
ipv4_address: 172.96.0.5
containers:
depends_on:
- redis
setup:
image: wafflehacks/wafflemaker:setup
build: ./docker
env_file: ./.dockerenv
networks:
default:
ipv4_address: 172.96.0.64
depends_on:
- vault
networks:
default:
ipam:
config:
- subnet: 172.96.0.0/16
containers:
external: true