forked from mirror/pixelfed
commit
adb2767b20
3 changed files with 66 additions and 4 deletions
53
.env.example.docker
Normal file
53
.env.example.docker
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
APP_NAME="Pixelfed Prod"
|
||||||
|
APP_ENV=production
|
||||||
|
APP_KEY=
|
||||||
|
APP_DEBUG=false
|
||||||
|
|
||||||
|
APP_URL=http://localhost
|
||||||
|
APP_DOMAIN="localhost"
|
||||||
|
ADMIN_DOMAIN="localhost"
|
||||||
|
SESSION_DOMAIN="localhost"
|
||||||
|
SESSION_SECURE_COOKIE=true
|
||||||
|
TRUST_PROXIES="*"
|
||||||
|
|
||||||
|
LOG_CHANNEL=stack
|
||||||
|
|
||||||
|
DB_CONNECTION=mysql
|
||||||
|
DB_HOST=db
|
||||||
|
DB_PORT=3306
|
||||||
|
DB_DATABASE=pixelfed
|
||||||
|
DB_USERNAME=pixelfed
|
||||||
|
DB_PASSWORD=pixelfed
|
||||||
|
|
||||||
|
BROADCAST_DRIVER=log
|
||||||
|
CACHE_DRIVER=redis
|
||||||
|
SESSION_DRIVER=redis
|
||||||
|
QUEUE_DRIVER=redis
|
||||||
|
|
||||||
|
REDIS_SCHEME=tcp
|
||||||
|
REDIS_HOST=redis
|
||||||
|
REDIS_PASSWORD=null
|
||||||
|
REDIS_PORT=6379
|
||||||
|
|
||||||
|
MAIL_DRIVER=log
|
||||||
|
MAIL_HOST=smtp.mailtrap.io
|
||||||
|
MAIL_PORT=2525
|
||||||
|
MAIL_USERNAME=null
|
||||||
|
MAIL_PASSWORD=null
|
||||||
|
MAIL_ENCRYPTION=null
|
||||||
|
MAIL_FROM_ADDRESS="pixelfed@example.com"
|
||||||
|
MAIL_FROM_NAME="Pixelfed"
|
||||||
|
|
||||||
|
OPEN_REGISTRATION=true
|
||||||
|
ENFORCE_EMAIL_VERIFICATION=true
|
||||||
|
PF_MAX_USERS=1000
|
||||||
|
|
||||||
|
MAX_PHOTO_SIZE=15000
|
||||||
|
MAX_CAPTION_LENGTH=150
|
||||||
|
MAX_ALBUM_LENGTH=4
|
||||||
|
|
||||||
|
ACTIVITY_PUB=false
|
||||||
|
AP_REMOTE_FOLLOW=false
|
||||||
|
AP_INBOX=false
|
||||||
|
PF_COSTAR_ENABLED=false
|
||||||
|
|
14
README.md
14
README.md
|
@ -28,11 +28,19 @@ Pixelfed is open-sourced software licensed under the AGPL license.
|
||||||
The ways you can communicate on the project are below. Before interacting, please
|
The ways you can communicate on the project are below. Before interacting, please
|
||||||
read through the [Code Of Conduct](CODE_OF_CONDUCT.md).
|
read through the [Code Of Conduct](CODE_OF_CONDUCT.md).
|
||||||
|
|
||||||
* IRC: #pixelfed on irc.freenode.net ([#freenode_#pixelfed:matrix.org through
|
* IRC: [#pixelfed](irc://chat.freenode.net/pixelfed) on irc.freenode.net
|
||||||
Matrix](https://matrix.to/#/#freenode_#pixelfed:matrix.org))
|
* Matrix: [#pixelfed:matrix.org](https://matrix.to/#/#pixelfed:matrix.org)
|
||||||
* Project on Mastodon: [@pixelfed@mastodon.social](https://mastodon.social/@pixelfed)
|
* Mastodon: [@pixelfed@mastodon.social](https://mastodon.social/@pixelfed)
|
||||||
* E-mail: [hello@pixelfed.org](mailto:hello@pixelfed.org)
|
* E-mail: [hello@pixelfed.org](mailto:hello@pixelfed.org)
|
||||||
|
|
||||||
|
### Development
|
||||||
|
|
||||||
|
For more development focused communication methods, please visit the following:
|
||||||
|
|
||||||
|
* IRC: [#pixelfed-dev](irc://chat.freenode.net/pixelfed-dev) on irc.freenode.net
|
||||||
|
* Matrix: [#pixelfed-dev:matrix.org](https://matrix.to/#/#pixelfed-dev:matrix.org)
|
||||||
|
* Mastodon: [@pixeldev@mastodon.social](https://mastodon.social/@pixeldev)
|
||||||
|
|
||||||
|
|
||||||
## Pixelfed Sponsors
|
## Pixelfed Sponsors
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "app-storage:/var/www/storage"
|
- "app-storage:/var/www/storage"
|
||||||
- "app-bootstrap:/var/www/bootstrap"
|
- "app-bootstrap:/var/www/bootstrap"
|
||||||
|
- "./.env:/var/www/.env"
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
- internal
|
- internal
|
||||||
|
|
Loading…
Reference in a new issue