fnp
/
wolnelektury.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Docker and testing changes
[wolnelektury.git]
/
docker-compose.test.yml
1
# make test
2
# make test ARGS=catalogue
3
4
name: wolnelektury-test
5
6
x-env: &env
7
POSTGRES_USER: wl
8
POSTGRES_PASSWORD: wl
9
10
services:
11
test:
12
build:
13
context: .
14
target: test
15
args:
16
UID: ${UID:-1000}
17
GID: ${GID:-1000}
18
environment:
19
<<: *env
20
SECRET_KEY: test
21
ALLOWED_HOSTS: "*"
22
COVERAGE_FILE: /tmp/.coverage
23
volumes:
24
- ./htmlcov:/app/htmlcov
25
depends_on: [db]
26
27
db:
28
build: {context: ., target: postgres}
29
environment: *env
30
tmpfs: [/var/lib/postgresql]
31