|
|
|
@ -41,6 +41,18 @@ services: |
|
|
|
|
env_file: |
|
|
|
|
- ./pixelfed/env.production |
|
|
|
|
- ./secrets/pixelfed.app |
|
|
|
|
environment: |
|
|
|
|
- APP_URL="https://${PIXELFED_HOSTNAME}.${DOMAIN_NAME}" |
|
|
|
|
- APP_DOMAIN="${PIXELFED_HOSTNAME}.${DOMAIN_NAME}" |
|
|
|
|
- ADMIN_DOMAIN="${PIXELFED_HOSTNAME}.${DOMAIN_NAME}" |
|
|
|
|
- SESSION_DOMAIN="${PIXELFED_HOSTNAME}.${DOMAIN_NAME}" |
|
|
|
|
- MAIL_DRIVER=log |
|
|
|
|
- MAIL_HOST=${SMTP_SERVER} |
|
|
|
|
- MAIL_PORT=${SMTP_PORT} |
|
|
|
|
- MAIL_FROM_ADDRESS="pixelfed@${DOMAIN_NAME}" |
|
|
|
|
- MAIL_FROM_NAME="Pixelfed" |
|
|
|
|
- MAIL_USERNAME="${SMTP_USER}" |
|
|
|
|
- MAIL_PASSWORD="${SMTP_PASSWORD}" |
|
|
|
|
command: gosu www-data php artisan horizon |
|
|
|
|
depends_on: |
|
|
|
|
- pixelfed-db |
|
|
|
|