Remove S3/Minio: delete s3_client service, env vars, Minio container, and AWS S3 package
- Remove s3_client service from services.yaml - Remove S3_* env vars from .env and env.local.j2 - Remove Minio service and volume from docker-compose-dev.yml - Remove league/flysystem-aws-s3-v3 from composer.json Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
8
.env
8
.env
@@ -59,11 +59,3 @@ OAUTH_KEYCLOAK_CLIENT_SECRET=changeme
|
|||||||
OAUTH_KEYCLOAK_URL=https://auth.esy-web.dev
|
OAUTH_KEYCLOAK_URL=https://auth.esy-web.dev
|
||||||
OAUTH_KEYCLOAK_REALM=e-cosplay
|
OAUTH_KEYCLOAK_REALM=e-cosplay
|
||||||
###< SSO E-Cosplay (Keycloak OIDC) ###
|
###< SSO E-Cosplay (Keycloak OIDC) ###
|
||||||
|
|
||||||
###> s3/minio ###
|
|
||||||
S3_ENDPOINT=http://minio:9000
|
|
||||||
S3_ACCESS_KEY=e-ticket
|
|
||||||
S3_SECRET_KEY=e-ticket
|
|
||||||
S3_BUCKET=e-ticket
|
|
||||||
S3_REGION=us-east-1
|
|
||||||
###< s3/minio ###
|
|
||||||
|
|||||||
@@ -7,11 +7,6 @@ DEFAULT_URI=https://ticket.e-cosplay.fr
|
|||||||
VITE_LOAD=1
|
VITE_LOAD=1
|
||||||
REAL_MAIL=1
|
REAL_MAIL=1
|
||||||
OUTSIDE_URL=https://ticket.e-cosplay.fr
|
OUTSIDE_URL=https://ticket.e-cosplay.fr
|
||||||
S3_ENDPOINT=https://s3.esy-web.dev
|
|
||||||
S3_ACCESS_KEY={{ s3_access_key }}
|
|
||||||
S3_SECRET_KEY={{ s3_secret_key }}
|
|
||||||
S3_BUCKET=e-ticket
|
|
||||||
S3_REGION=us-west-4
|
|
||||||
STRIPE_PK={{ stripe_pk }}
|
STRIPE_PK={{ stripe_pk }}
|
||||||
STRIPE_SK={{ stripe_sk }}
|
STRIPE_SK={{ stripe_sk }}
|
||||||
STRIPE_WEBHOOK_SECRET={{ stripe_webhook_secret }}
|
STRIPE_WEBHOOK_SECRET={{ stripe_webhook_secret }}
|
||||||
|
|||||||
@@ -14,7 +14,6 @@
|
|||||||
"endroid/qr-code-bundle": "*",
|
"endroid/qr-code-bundle": "*",
|
||||||
"knplabs/knp-paginator-bundle": "^6.10",
|
"knplabs/knp-paginator-bundle": "^6.10",
|
||||||
"knpuniversity/oauth2-client-bundle": "^2.20",
|
"knpuniversity/oauth2-client-bundle": "^2.20",
|
||||||
"league/flysystem-aws-s3-v3": "^3.32",
|
|
||||||
"league/flysystem-bundle": "^3.6",
|
"league/flysystem-bundle": "^3.6",
|
||||||
"liip/imagine-bundle": "^2.17",
|
"liip/imagine-bundle": "^2.17",
|
||||||
"mobiledetect/mobiledetectlib": "*",
|
"mobiledetect/mobiledetectlib": "*",
|
||||||
|
|||||||
@@ -22,18 +22,6 @@ services:
|
|||||||
# add more service definitions when explicit configuration is needed
|
# add more service definitions when explicit configuration is needed
|
||||||
# please note that last definitions always *replace* previous ones
|
# please note that last definitions always *replace* previous ones
|
||||||
|
|
||||||
s3_client:
|
|
||||||
class: Aws\S3\S3Client
|
|
||||||
arguments:
|
|
||||||
-
|
|
||||||
version: 'latest'
|
|
||||||
region: '%env(S3_REGION)%'
|
|
||||||
endpoint: '%env(S3_ENDPOINT)%'
|
|
||||||
use_path_style_endpoint: true
|
|
||||||
credentials:
|
|
||||||
key: '%env(S3_ACCESS_KEY)%'
|
|
||||||
secret: '%env(S3_SECRET_KEY)%'
|
|
||||||
|
|
||||||
App\EventListener\ExceptionListener:
|
App\EventListener\ExceptionListener:
|
||||||
arguments:
|
arguments:
|
||||||
$kernelEnvironment: '%kernel.environment%'
|
$kernelEnvironment: '%kernel.environment%'
|
||||||
|
|||||||
@@ -103,19 +103,6 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- vault-data:/vault/file
|
- vault-data:/vault/file
|
||||||
|
|
||||||
minio:
|
|
||||||
image: minio/minio:latest
|
|
||||||
container_name: e_ticket_minio
|
|
||||||
command: server /data --console-address ":9001"
|
|
||||||
environment:
|
|
||||||
MINIO_ROOT_USER: e_ticket
|
|
||||||
MINIO_ROOT_PASSWORD: e_ticket
|
|
||||||
ports:
|
|
||||||
- "9090:9000"
|
|
||||||
- "9001:9001"
|
|
||||||
volumes:
|
|
||||||
- minio-data:/data
|
|
||||||
|
|
||||||
ngrok:
|
ngrok:
|
||||||
image: ngrok/ngrok:latest
|
image: ngrok/ngrok:latest
|
||||||
container_name: e_ticket_ngrok
|
container_name: e_ticket_ngrok
|
||||||
@@ -163,5 +150,4 @@ volumes:
|
|||||||
redis-data:
|
redis-data:
|
||||||
bun-modules:
|
bun-modules:
|
||||||
vault-data:
|
vault-data:
|
||||||
minio-data:
|
|
||||||
meilisearch-data:
|
meilisearch-data:
|
||||||
|
|||||||
Reference in New Issue
Block a user