File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 11services :
22 postgres :
3- profiles : [dev]
43 image : postgres:16.1
54 env_file :
65 - .env
@@ -17,7 +16,6 @@ services:
1716 retries : 5
1817
1918 minio :
20- profiles : [dev]
2119 image : minio/minio:RELEASE.2025-07-23T15-54-02Z-cpuv1
2220 ports :
2321 - ' ${DOCKER_MINIO_API_PORT}:9000'
@@ -35,20 +33,21 @@ services:
3533 retries : 5
3634
3735 createbucket :
38- image : minio/mc
36+ image : minio/mc:RELEASE.2025-08-13T08-35-41Z-cpuv1
37+ profiles :
38+ - init
3939 depends_on :
4040 minio :
4141 condition : service_healthy
42- entrypoint : []
42+ entrypoint : ['' ]
4343 command : ["sh", "-c", "
4444 mc alias set default http://minio:${DOCKER_MINIO_API_PORT} \"${DOCKER_MINIO_USERNAME}\" \"${DOCKER_MINIO_PASSWORD}\";
4545 mc admin user add default ${S3_ACCESS_KEY_ID} ${S3_SECRET_ACCESS_KEY};
4646 mc admin policy attach default readwrite --user ${S3_ACCESS_KEY_ID};
4747 mc mb --ignore-existing default/${S3_BUCKET_NAME} 2>/dev/null;
4848 mc anonymous set download default/${S3_BUCKET_NAME};
4949 echo 'Bucket configuration completed successfully';
50- "
51- ]
50+ " ]
5251 restart: " no"
5352
5453volumes :
Original file line number Diff line number Diff line change 3131 "test:ui" : " vitest" ,
3232 "e2e" : " dotenv -- cross-env playwright test" ,
3333 "e2e:ui" : " dotenv -- cross-env playwright test --ui" ,
34- "dk:init" : " docker compose up -d" ,
35- "dk:start" : " docker compose --profile dev start" ,
34+ "dk:init" : " docker compose --profile init up -d" ,
35+ "dk:start" : " docker compose start" ,
3636 "dk:stop" : " docker compose stop" ,
3737 "dk:clear" : " docker compose down --volumes" ,
3838 "db:init" : " pnpm db:push && pnpm db:seed" ,
You can’t perform that action at this time.
0 commit comments