-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.test.yml
More file actions
56 lines (50 loc) · 1.07 KB
/
docker-compose.test.yml
File metadata and controls
56 lines (50 loc) · 1.07 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
54
55
56
version: '3.2'
services:
redis:
container_name: redis_instatasksdb
image: redis:alpine
hostname: redis
restart: always
tty: true
environment:
- TERM=xterm-256color
env_file:
- .env
networks:
- test_instatasksnet
command:
- 'redis-server'
- '--loglevel notice'
# - '--databases ${REDIS_DATABASES:-2}'
- '--appendonly ${REDIS_APPENDONLY:-no}'
- '--maxmemory ${REDIS_MAXMEM:-100mb}'
- '--maxmemory-policy ${REDIS_POLICY:-volatile-lfu}'
- '--requirepass ${REDIS_PASSWORD}'
web_test:
container_name: instatasks_test
hostname: instatasks
restart: "no"
build:
context: .
dockerfile: Dockerfile.test
env_file:
- .env
tty: true
environment:
- APP_ENV=test
- TERM=xterm-256color
volumes:
- .:/go/src/instatasks
networks:
- test_instatasksnet
depends_on:
- redis
links:
- redis
labels:
kompose.service.type: LoadBalancer
networks:
test_instatasksnet:
driver: bridge
volumes:
.: