Skip to content

Commit 2e368f9

Browse files
committed
support flysystem-aws-s3
1 parent a3420f5 commit 2e368f9

File tree

2 files changed

+16
-8
lines changed

2 files changed

+16
-8
lines changed

.env.example

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# You app name. It is usually equal to the name of your project.
2-
APP_NAME='Mixpost Pro Team'
2+
APP_NAME='Mixpost Pro'
33

44
# Your application environment. If you are ready for production, set 'production'
55
APP_ENV=local
@@ -29,16 +29,22 @@ REDIS_PORT=6379
2929
#Change this only if you know what you are doing
3030
QUEUE_CONNECTION=redis
3131

32-
#Change this only if you know what you are doing
33-
MIXPOST_DISK=public
34-
35-
#Change this only if you know what you are doing
32+
# Define log channel
3633
MIXPOST_LOG_CHANNEL=mixpost
3734

38-
#This is the path which Mixpost will use to load its core routes and assets
35+
# This is the path which Mixpost will use to load its core routes and assets
3936
MIXPOST_CORE_PATH=mixpost
4037

41-
#SMTP
38+
# The disk on which to store added files. Disks: "public", "s3". For "s3" you should fill in the AWS_* credentials below.
39+
MIXPOST_DISK=public
40+
41+
# AWS Credentials
42+
AWS_ACCESS_KEY_ID=
43+
AWS_SECRET_ACCESS_KEY=
44+
AWS_DEFAULT_REGION=
45+
AWS_BUCKET=
46+
47+
# SMTP
4248
MAIL_MAILER=smtp
4349
MAIL_HOST=smtp.mailgun.org
4450
MAIL_PORT=587

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@
77
"php": "^8.1",
88
"doctrine/dbal": "^3.6",
99
"guzzlehttp/guzzle": "^7.2",
10+
"inovector/mixpost-pro-team": "^1.0",
1011
"laravel/framework": "^10.8",
1112
"laravel/horizon": "^5.15",
1213
"laravel/tinker": "^2.8",
13-
"inovector/mixpost-pro-team": "^1.0"
14+
"league/flysystem-aws-s3-v3": "^3.0",
15+
"league/flysystem-sftp-v3": "^3.0"
1416
},
1517
"require-dev": {
1618
"fakerphp/faker": "^1.9.1",

0 commit comments

Comments
 (0)