forked from brave-intl/bat-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
53 lines (51 loc) · 1.13 KB
/
docker-compose.dev.yml
File metadata and controls
53 lines (51 loc) · 1.13 KB
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.4"
volumes:
gomod:
out:
driver_opts:
type: tmpfs
device: tmpfs
services:
dev:
volumes:
- ".:/src"
- "out:/out"
- "gomod:/go/pkg/mod"
security_opt:
- no-new-privileges:true
environment:
- OUTPUT_DIR="/out"
- "CHALLENGE_BYPASS_DATABASE_URL=postgres://btokens:password@grant-postgres/btokens?sslmode=disable"
- "VAULT_ADDR=http://vault:8200"
- TEST_TAGS
- VAULT_TOKEN
- TEST_RUN
- TEST_PKG
- TEST_DIRS
vault:
container_name: grant-vault
image: vault:0.11.6
networks:
- grant
redislog:
container_name: grant-redis-log
image: redis:7.4
networks:
- grant
command: ["redis-cli", "-h", "grant-redis", "MONITOR"]
profiles:
- redis-log
depends_on:
redis:
condition: service_healthy
migrate:
image: migrate/migrate:v4.19.0@sha256:d5c978181e3bfa55cc50e3bd8d7da3d87418a87693453250a8804b81ee6494db
profiles:
- tools
volumes:
- ./migrations:/migrations
networks:
- grant
security_opt:
- no-new-privileges=true
read_only: true