-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
83 lines (81 loc) · 2.29 KB
/
docker-compose.yml
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
x-commons: &commons
networks: [ internal ]
env_file: .env
volumes :
- ".:/app"
- "./tests/Unit/sandbox:/tmp"
networks :
internal:
services :
composer :
<< : *commons
image : composer:2
command: install
sftp :
image : jmcombs/sftp
<< : *commons
networks: [ internal ]
ports : [ "22:22" ]
command : sftp:sftp:::upload
s3 :
image : quay.io/minio/minio:latest
<< : *commons
networks: [ internal ]
ports : [ "9000:9000" ]
command : server /data
ftp :
<< : *commons
image : garethflowers/ftp-server
ports : [ "21:21" ]
networks: [ internal ]
test_local :
<< : *commons
build : tests/Unit
command: phpunit ./tests/Unit/LocalProviderTest.php
test_dropbox:
<< : *commons
build : tests/Unit
command: phpunit ./tests/Unit/DropboxProviderTest.php
test_mega :
<< : *commons
build : tests/Unit
command: phpunit ./tests/Unit/MegaProviderTest.php
test_gdrive :
<< : *commons
build : tests/Unit
command: phpunit ./tests/Unit/GDriveProviderTest.php
test_sftp :
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/SFtpProviderTest.php
depends_on: [ sftp ]
test_ftp :
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/FtpProviderTest.php
depends_on: [ ftp ]
test_s3 :
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/S3ProviderTest.php
depends_on: [ s3 ]
test_sftp_to_s3:
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/FromSftpToS3ProviderTest.php
depends_on: [ sftp, s3 ]
test_s3_to_local:
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/FromS3ToLocalProviderTest.php
depends_on: [ s3 ]
test_s3_to_sftp:
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/FromS3ToSftpProviderTest.php
depends_on: [ s3, sftp ]
test_local_to_s3:
<< : *commons
build : tests/Unit
command : phpunit ./tests/Unit/FromLocalToS3ProviderTest.php
depends_on: [ s3 ]