diff --git a/.env.example.docker b/.env.example.docker new file mode 100644 index 00000000..f102446a --- /dev/null +++ b/.env.example.docker @@ -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 + diff --git a/docker-compose.yml b/docker-compose.yml index 9dc61f20..b0cfc8b1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,7 @@ services: volumes: - "app-storage:/var/www/storage" - "app-bootstrap:/var/www/bootstrap" + - "./.env:/var/www/.env" networks: - external - internal