Skip to content

Commit

Permalink
Remove minio references
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Jun 13, 2024
1 parent 02c33c6 commit e084699
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 47 deletions.
17 changes: 0 additions & 17 deletions docker/docker-compose-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,25 +40,8 @@ services:
timeout: 5s
retries: 10

minio:
image: docker.io/bitnami/minio:2024
restart: always
environment:
# *must* be >= 8 chars or minio will not start
- MINIO_ROOT_USER=gbansgbans
- MINIO_ROOT_PASSWORD=gbansgbans
ports:
- '0.0.0.0:9000:9000'
- '0.0.0.0:9001:9001'
volumes:
- 'minio_data:/bitnami/minio/data'
networks:
- prod_network

volumes:
dl_cache:
minio_data:
driver: local

networks:
prod_network:
17 changes: 0 additions & 17 deletions docker/docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,9 @@ services:
timeout: 5s
retries: 10

minio:
# Files are currently designed to be served from
image: docker.io/bitnami/minio:2023
restart: always
environment:
# *must* be >= 8 chars or minio will not start
- MINIO_ROOT_USER=gbansgbans
- MINIO_ROOT_PASSWORD=gbansgbans
ports:
- '127.0.0.1:9000:9000'
- '127.0.0.1:9001:9001'
volumes:
- 'minio_data:/bitnami/minio/data'
networks:
- prod_network

volumes:
dl_cache:
gbans_db:
minio_data:

networks:
prod_network:
2 changes: 0 additions & 2 deletions docs/docs/install/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ Precompiled binaries will be provided once the project is in a more stable state
images as they are currently the only tested usecase.

- [make](https://www.gnu.org/software/make/) Not strictly required but provides predefined build commands
- [minio](https://min.io/) You will need to have set up minio access/secret keys. Other s3 compatible options should
work but are untested
- [golang 1.22+](https://golang.org/) Version >=1.22 is required.
- [PostgreSQL](https://www.postgresql.org/) Version 15 is the only version currently tested against. However, anything
10 and up should work, ymmv.
Expand Down
11 changes: 0 additions & 11 deletions internal/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,17 +134,6 @@ func serveCmd() *cobra.Command { //nolint:maintidx

defer discordUsecase.Shutdown(conf.Discord.GuildID)

// // Initialize minio client object.
// minioClient, errMinio := minio.New(conf.S3Store.Endpoint, &minio.Options{
// Creds: credentials.NewStaticV4(conf.S3Store.AccessKey, conf.S3Store.SecretKey, ""),
// Secure: conf.S3Store.SSL,
// })
// if errMinio != nil {
// slog.Error("Cannot initialize minio", log.ErrAttr(errDR))
//
// return
// }

personUsecase := person.NewPersonUsecase(person.NewPersonRepository(conf, dbUsecase), configUsecase)

networkUsecase := network.NewNetworkUsecase(eventBroadcaster, network.NewNetworkRepository(dbUsecase), personUsecase, configUsecase)
Expand Down

0 comments on commit e084699

Please sign in to comment.