-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
38 lines (35 loc) · 953 Bytes
/
Copy pathcompose.dev.yaml
File metadata and controls
38 lines (35 loc) · 953 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
name: cppsocial-feedback-dev
services:
app:
build:
context: .
target: development
command:
- sh
- -c
- >-
pip install --no-deps --editable . &&
exec python -m feedback --config=/workspace/config/sites.dev.toml
--github-app-private-key-file=/workspace/config/secrets/github-app-private-key.pem
--github-client-secret-file=/workspace/config/secrets/github-client-secret
--oauth-state-hmac-key-file=/workspace/config/secrets/oauth-state-hmac-key
--host=0.0.0.0 --port=8080
init: true
ports:
- "127.0.0.1:8080:8080"
volumes:
- .:/workspace
- feedback-pip-cache:/root/.cache/pip
working_dir: /workspace
test:
build:
context: .
target: test
command: ["pytest", "-q"]
init: true
profiles: ["test"]
read_only: true
tmpfs:
- /tmp:rw,noexec,nosuid,nodev,size=64m
volumes:
feedback-pip-cache: