We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16daf10 commit b564bb5Copy full SHA for b564bb5
Dockerfile
@@ -133,8 +133,6 @@ RUN chmod +x /usr/local/bin/entrypoint.sh /usr/local/bin/validate-env.sh /usr/lo
133
# Expose port 8000 (Octane)
134
EXPOSE 8000
135
136
-USER www-data
137
-
138
# Set entrypoint
139
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
140
config/database.php
@@ -108,6 +108,7 @@
108
'engine' => 'InnoDB ROW_FORMAT=DYNAMIC',
109
'options' => extension_loaded('pdo_mysql') ? array_filter([
110
PDO::MYSQL_ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),
111
+ PDO::ATTR_PERSISTENT => true, // Critical for Octane
112
],
113
fn ($elem) => ($elem !== null && $elem !== ''),
114
) : [],
0 commit comments