generated from ddev/ddev-addon-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
101 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# #ddev-generated | ||
# Everything in the commands directory needs LF line-endings | ||
# Not CRLF as from Windows. | ||
# bash especially just can't cope if it finds CRLF in a script. | ||
* -text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/usr/bin/env bash | ||
#ddev-generated | ||
## Description: Run MinIO Client inside the minio container | ||
## Usage: mc [flags] [args] | ||
## Example: "mc admin bucket" | ||
|
||
mc "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
#ddev-generated | ||
## Description: Run redis-cli inside the redis container | ||
## Usage: redis-cli [flags] [args] | ||
## Example: "ddev redis-cli KEYS *" or "ddev redis-cli INFO" or "ddev redis-cli --version" | ||
|
||
redis-cli -p 6379 -h redis $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"version": "10", | ||
"aliases": { | ||
"minio": { | ||
"url": "http://localhost:10101", | ||
"accessKey": "ddevminio", | ||
"secretKey": "ddevminio", | ||
"api": "s3v4", | ||
"path": "auto" | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
#ddev-generated | ||
# MinIO addon for DDEV - Base file | ||
services: | ||
minio: | ||
container_name: ddev-${DDEV_SITENAME}-minio | ||
build: | ||
context: .minioImageBuild | ||
hostname: ddev-${DDEV_SITENAME}-minio | ||
environment: | ||
MINIO_VOLUMES: "/data" | ||
MINIO_ROOT_USER: ddevminio | ||
MINIO_ROOT_PASSWORD: ddevminio | ||
command: > | ||
server | ||
--console-address | ||
:9090 | ||
--address | ||
:10101 | ||
volumes: | ||
- "minio:/data" | ||
- ".:/mnt/ddev_config" | ||
- ddev-global-cache:/mnt/ddev-global-cache | ||
- "./craft-cloud/minio/mc-config.json:/root/.mc/config.json" | ||
expose: | ||
- "9000" | ||
- "10101" | ||
networks: | ||
- default | ||
- ddev_default | ||
labels: | ||
com.ddev.site-name: ${DDEV_SITENAME} | ||
com.ddev.approot: ${DDEV_APPROOT} | ||
external_links: | ||
- ddev-router:${DDEV_SITENAME}.${DDEV_TLD} | ||
deploy: | ||
resources: | ||
limits: | ||
cpus: "2" | ||
memory: "1024M" | ||
reservations: | ||
cpus: "1" | ||
memory: "512M" | ||
restart: "no" | ||
healthcheck: | ||
interval: 120s | ||
timeout: 2s | ||
retries: 1 | ||
|
||
volumes: | ||
minio: | ||
name: ddev-${DDEV_SITENAME}-minio | ||
labels: | ||
com.ddev.site-name: ${DDEV_SITENAME} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#ddev-generated | ||
services: | ||
redis: | ||
container_name: ddev-${DDEV_SITENAME}-redis | ||
image: redis:7 | ||
labels: | ||
com.ddev.site-name: ${DDEV_SITENAME} | ||
com.ddev.approot: $DDEV_APPROOT | ||
volumes: | ||
- ".:/mnt/ddev_config" | ||
- "redis:/data" | ||
|
||
volumes: | ||
redis: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters