-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (40 loc) · 841 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (40 loc) · 841 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
35
36
37
38
39
40
41
42
43
44
version: '3'
services:
poketeam:
container_name: poketeam
build:
context: .
dockerfile: docker/Dockerfile
args:
ENV_NAME: ${ENV_NAME}
env_file: .env
volumes:
- './src/:/home/src'
ports:
- ${APP_PORT}:${APP_PORT}
depends_on:
- db
poketeam-test:
container_name: poketeam-test
build:
context: .
dockerfile: docker/Dockerfile
args:
ENV_NAME: test
env_file: test.env
volumes:
- './src/:/home/src'
command: >
bash -c "pytest -vv --cov-report term-missing --cov"
db:
image: postgres:13.2-alpine
container_name: db
env_file: .env
volumes:
- ./database:/docker-entrypoint-initdb.d
ports:
- ${DB_PORT}:${DB_PORT}
networks:
default:
name: triagil-network
external: True