-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
45 lines (45 loc) · 1 KB
/
docker-compose.yaml
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
version: "3.3"
services:
build:
build:
dockerfile: docker/Dockerfile
context: .
command: ./docker/scripts/build
container_name: build
volumes:
- .:/app:delegated
deploy:
build:
dockerfile: docker/Dockerfile
context: .
command: ./docker/scripts/deploy
container_name: deploy
volumes:
- .:/app:delegated
install:
build:
dockerfile: docker/Dockerfile
context: .
command: ./docker/scripts/install
container_name: install
volumes:
- .:/app:delegated
- ~/.ssh:/root/.ssh
env_file:
- $HOME/.synotools/credentials
tests:
build:
dockerfile: docker/Dockerfile
context: .
command: ./docker/scripts/tests
container_name: tests
volumes:
- .:/app:delegated
environment:
# General
PYTHONUNBUFFERED: "true"
PYTHONPATH: "/app/synotools:/app/tests:"
ENVIRONMENT_NAME: "test"
COVERALLS_REPO_TOKEN: $COVERALLS_REPO_TOKEN
env_file:
- .env.tests