54e78b6274
test_upload: This will create a file and make sure it uploads by verifying a file uploads and is assigned a URL. test_download: This will create a file, upload it and then download it making sure it is the same filename that was uploaded. We can expand this later to maybe check the sizes and such. test_progress: This will create a file and make sure the progress bar shows up after it begins uploading. These are python tests and use Pipenv to manage dependencies as well as tox as the virtualenv manager, and finally pytest as the test runner.
26 lines
404 B
YAML
26 lines
404 B
YAML
version: "3"
|
|
services:
|
|
web:
|
|
build: .
|
|
links:
|
|
- redis
|
|
ports:
|
|
- "1443:1443"
|
|
environment:
|
|
- REDIS_HOST=redis
|
|
redis:
|
|
image: redis:alpine
|
|
ports:
|
|
- "6379:6379"
|
|
selenium-firefox:
|
|
image: b4handjr/selenium-firefox
|
|
volumes:
|
|
- .:/send
|
|
working_dir: /send
|
|
expose:
|
|
- "4444"
|
|
ports:
|
|
- "5900"
|
|
- "4444:4444"
|
|
shm_size: 2g
|