Skip to content

Commit

Permalink
fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
WillNilges committed Nov 3, 2024
1 parent f06e7f7 commit 74a4de1
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,28 @@ jobs:
ports:
- '9000:9000'
- '9001:9001'
#networks:
# - api
volumes:
- 'minio_data:/data'
command: |
server /data
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=admin
- MINIO_ROOT_PASSWORD=admin1234
- MINIO_ROOT_USER=sampleaccesskey
- MINIO_ROOT_PASSWORD=samplesecretkey
- MINIO_DEFAULT_BUCKETS=meshdb-join-form-log
- MINIO_ACCESS_KEY=sampleaccesskey
- MINIO_SECRET_KEY=samplesecretkey

# I hate computers: https://github.com/minio/minio/issues/4769
createbuckets:
image: minio/mc
depends_on:
- minio
entrypoint: >
/bin/sh -c "
/usr/bin/mc config host add myminio http://minio:9000 sampleaccesskey samplesecretkey;
/usr/bin/mc mb myminio/meshdb-join-form-log;
exit 0;
"
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6
Expand Down

0 comments on commit 74a4de1

Please sign in to comment.