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
56 changed files
with
315,357 additions
and
17 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
* @deezer @Faylixe @GuillaumeSalha @elenavepure @romi1502 |
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,44 @@ | ||
--- | ||
name: Bug | ||
about: Report a bug | ||
title: "[Bug] name your bug" | ||
labels: bug, invalid | ||
--- | ||
|
||
<!-- PLEASE READ THIS CAREFULLY : | ||
- Any issue which does not respect following template or lack of information will be considered as invalid and automatically closed | ||
- First check FAQ from wiki to see if your problem is not already known | ||
--> | ||
|
||
## Description | ||
|
||
<!-- Give us a clear and concise description of the bug you are reporting. --> | ||
|
||
## Step to reproduce | ||
|
||
<!-- Indicates clearly steps to reproduce the behavior: --> | ||
|
||
1. Installed using `...` | ||
2. Run as `...` | ||
3. Got `...` error | ||
|
||
## Output | ||
|
||
```bash | ||
Share what your terminal says when you run the script (as well as what you would expect). | ||
``` | ||
|
||
## Environment | ||
|
||
<!-- Fill the following table --> | ||
|
||
| | | | ||
| ----------------- | ------------------------------- | | ||
| OS | Windows / Linux / MacOS / other | | ||
| Installation type | Conda / pip / other | | ||
| RAM available | XGo | | ||
| Hardware spec | GPU / CPU / etc ... | | ||
|
||
## Additional context | ||
|
||
<!-- Add any other context about the problem here, references, cites, etc.. --> |
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 @@ | ||
blank_issues_enabled: false |
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,8 @@ | ||
--- | ||
name: Discussion | ||
about: Ideas sharing or theorical question solving | ||
labels: question | ||
title: "[Discussion] your question" | ||
--- | ||
|
||
<!-- Please respect the title [Discussion] tag. --> |
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 @@ | ||
--- | ||
name: Feature request | ||
about: Submit idea for new feature | ||
labels: feature, enhancement | ||
title: "[Feature] your feature name" | ||
--- | ||
|
||
## Description | ||
|
||
<!-- Describe your feature request here. --> | ||
|
||
## Additional information | ||
|
||
<!-- Add any additional description --> |
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,13 @@ | ||
# [Pull request title] | ||
|
||
## Description | ||
|
||
A few sentences describing the overall goals of the pull request's commits. | ||
|
||
## How this patch was tested | ||
|
||
You tested it, right? | ||
|
||
## Documentation link and external references | ||
|
||
Please provide any info that may help us better understand your code. |
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,65 @@ | ||
########################################################################################################################### | ||
# Make framework that provides generic docker based function | ||
# and project values. | ||
# | ||
# @author Félix Voituret <fvoituret@deezer.com> | ||
# @version 1.0.0 | ||
########################################################################################################################### | ||
|
||
SHELL = /bin/bash -x | ||
PROJECT = muzeeglot | ||
COMPOSE = docker-compose -p $(PROJECT) | ||
COMPOSE_FILE = docker-compose.yaml | ||
COMPOSE_OPTS = | ||
DOCKER = docker | ||
DOMAIN = | ||
CERTCOMMAND = certonly --webroot --webroot-path=/data/letsencrypt -d $(DOMAIN) -d www.$(DOMAIN) | ||
CERTVOLUMES = -v $(PROJECT)-certificates:/etc/letsencrypt | ||
CERTVOLUMES += -v $(PROJECT)-certificates-data:/data/letsencrypt | ||
BUILDERVOLUMES = $(CERTVOLUMES) -v frontend/nginx/certificate-builder.conf:/etc/nginx/nginx.conf:ro | ||
|
||
.PHONY: api frontend | ||
|
||
usage: | ||
$(eval SHELL=/bin/bash) | ||
@echo "Supported goals:" | ||
@echo " * make [no-cache] api|frontend" | ||
@echo " * make [ssl] run|start|stop" | ||
@echo " * make clean|letsencrypt|logs" | ||
|
||
no-cache: | ||
$(eval COMPOSE_OPTS=$(COMPOSE_OPTS) --no-cache) | ||
|
||
ssl: | ||
$(eval COMPOSE_FILE=docker-compose-ssl.yaml) | ||
|
||
letsencrypt: | ||
-@$(DOCKER) volume rm $(PROJECT)-certificates | ||
-@$(DOCKER) volume rm $(PROJECT)-certificates-data | ||
@$(DOCKER) volume create $(PROJECT)-certificates | ||
@$(DOCKER) volume create $(PROJECT)-certificates-data | ||
@$(DOCKER) run -d $(BUILDERVOLUMES) -p 80:80 -p 443:443 --name $(PROJECT)-certificate-builder nginx | ||
@$(DOCKER) run -it --rm $(CERTVOLUMES) deliverous/certbot $(CERTCOMMAND) | ||
@$(DOCKER) kill $(PROJECT)-certificate-builder | ||
@$(DOCKER) rm $(PROJECT)-certificate-builder | ||
|
||
api: | ||
@$(COMPOSE) build $(COMPOSE_OPTS) api | ||
|
||
frontend: | ||
@$(COMPOSE) build $(COMPOSE_OPTS) frontend | ||
|
||
run: api frontend | ||
@$(COMPOSE) up | ||
|
||
start: api frontend | ||
@$(COMPOSE) -f $(COMPOSE_FILE) up -d | ||
|
||
stop: | ||
@$(COMPOSE) -f $(COMPOSE_FILE) down | ||
|
||
logs: | ||
@$(COMPOSE) -f $(COMPOSE_FILE) logs --follow | ||
|
||
clean: stop | ||
@docker volume rm $$(docker volume ls | grep muzeeglot | tr -s ' ' | cut -d' ' -f2) |
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
Oops, something went wrong.