Skip to content

Commit

Permalink
Merge pull request #5516 from avalonmediasystem/minio-jammy
Browse files Browse the repository at this point in the history
Fix streaming in development docker-compose environment
  • Loading branch information
cjcolvar authored Dec 12, 2023
2 parents 9b686f8 + 849078d commit f7910be
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,12 @@ services:
- ./solr/conf:/opt/solr/avalon_conf

hls:
image: avalonmediasystem/nginx:minio
image: avalonmediasystem/nginx:minio-jammy
environment:
- AVALON_DOMAIN=http://avalon:3000
- AVALON_STREAMING_BUCKET_URL=http://minio:9000/derivatives/
volumes:
- ./log/nginx:/var/log/nginx
ports:
- '8880:80'
networks:
Expand Down Expand Up @@ -165,15 +167,16 @@ services:
ports: []

minio:
image: minio/minio:RELEASE.2019-10-12T01-39-57Z
command: minio server /data
image: minio/minio:RELEASE.2023-12-07T04-16-00Z
command: minio server /data --console-address ":9090"
environment:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
volumes:
- data:/data
ports:
- 9000:9000
- 9090:9090
networks:
internal:
external:
Expand All @@ -191,8 +194,8 @@ services:
/bin/sh -c "
/usr/bin/mc config host add myminio http://minio:9000 minio minio123;
/usr/bin/mc mb -p myminio/fcrepo myminio/masterfiles myminio/derivatives myminio/supplementalfiles myminio/preserves;
/usr/bin/mc policy set download myminio/derivatives;
/usr/bin/mc policy set download myminio/supplementalfiles;
/usr/bin/mc anonymous set download myminio/derivatives;
/usr/bin/mc anonymous set download myminio/supplementalfiles;
exit 0;
"
networks:
Expand Down

0 comments on commit f7910be

Please sign in to comment.