-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'augustocristian-dev_dockercompose'
- Loading branch information
Showing
19 changed files
with
15,228 additions
and
11,315 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 @@ | ||
teamname="asw2324_0" |
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,47 @@ | ||
# To get started with Dependabot version updates, you'll need to specify which | ||
# package ecosystems to update and where the package manifests are located. | ||
# Please see the documentation for all configuration options: | ||
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates | ||
|
||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" # See documentation for possible values | ||
directory: "/" # Location of package manifests | ||
schedule: | ||
interval: "monthly" | ||
# Maintain the npm dependencies of the frontend | ||
- package-ecosystem: "docker" # See documentation for possible values | ||
directory: "/webapp" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/webapp" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Maintain the npm dependencies of the GatewayService | ||
- package-ecosystem: "docker" # See documentation for possible values | ||
directory: "/gatewayservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/gatewayservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Maintain the npm dependencies of the authservice | ||
- package-ecosystem: "docker" # See documentation for possible values | ||
directory: "/users/authservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/users/authservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
# Maintain the npm dependencies of the userservice | ||
- package-ecosystem: "docker" # See documentation for possible values | ||
directory: "/users/userservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" | ||
- package-ecosystem: "npm" # See documentation for possible values | ||
directory: "/users/userservice" # Location of package manifests | ||
schedule: | ||
interval: "weekly" |
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
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
19 changes: 0 additions & 19 deletions
19
docker-compose-deploy.yml → docker-compose-deploy.override.yml
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 |
---|---|---|
@@ -1,60 +1,41 @@ | ||
version: '3' | ||
services: | ||
mongodb: | ||
image: mongo | ||
ports: | ||
- "27017:27017" | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- mongodb_data:/data/db | ||
|
||
authservice: | ||
image: ghcr.io/pglez82/asw2324_0/authservice:latest | ||
ports: | ||
- "8002:8002" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
userservice: | ||
image: ghcr.io/pglez82/asw2324_0/userservice:latest | ||
ports: | ||
- "8001:8001" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
gatewayservice: | ||
image: ghcr.io/pglez82/asw2324_0/gatewayservice:latest | ||
ports: | ||
- "8000:8000" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
- userservice | ||
- authservice | ||
environment: | ||
AUTH_SERVICE_URL: http://authservice:8002 | ||
USER_SERVICE_URL: http://userservice:8001 | ||
|
||
webapp: | ||
image: ghcr.io/pglez82/asw2324_0/webapp:latest | ||
ports: | ||
- "3000:3000" | ||
depends_on: | ||
- gatewayservice | ||
|
||
networks: | ||
mynetwork: | ||
driver: bridge | ||
|
||
volumes: | ||
mongodb_data: |
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,81 @@ | ||
version: '3' | ||
services: | ||
mongodb: | ||
image: mongo | ||
ports: | ||
- "27017:27017" | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- mongodb_data:/data/db | ||
|
||
authservice: | ||
build: ./users/authservice | ||
ports: | ||
- "8002:8002" | ||
networks: | ||
- mynetwork | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
userservice: | ||
build: ./users/userservice | ||
ports: | ||
- "8001:8001" | ||
networks: | ||
- mynetwork | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
gatewayservice: | ||
build: ./gatewayservice | ||
ports: | ||
- "8000:8000" | ||
networks: | ||
- mynetwork | ||
environment: | ||
AUTH_SERVICE_URL: http://authservice:8002 | ||
USER_SERVICE_URL: http://userservice:8001 | ||
|
||
webapp: | ||
build: ./webapp | ||
ports: | ||
- "3000:3000" | ||
|
||
prometheus: | ||
image: prom/prometheus | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- ./gatewayservice/monitoring/prometheus:/etc/prometheus | ||
- prometheus_data:/prometheus | ||
ports: | ||
- "9090:9090" | ||
depends_on: | ||
- gatewayservice | ||
|
||
grafana: | ||
image: grafana/grafana | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- grafana_data:/var/lib/grafana | ||
- ./gatewayservice/monitoring/grafana/provisioning:/etc/grafana/provisioning | ||
environment: | ||
- GF_SERVER_HTTP_PORT=9091 | ||
- GF_AUTH_DISABLE_LOGIN_FORM=true | ||
- GF_AUTH_ANONYMOUS_ENABLED=true | ||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | ||
ports: | ||
- "9091:9091" | ||
depends_on: | ||
- prometheus | ||
|
||
networks: | ||
mynetwork: | ||
driver: bridge | ||
|
||
volumes: | ||
mongodb_data: | ||
prometheus_data: | ||
grafana_data: |
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 |
---|---|---|
@@ -1,90 +1,40 @@ | ||
version: '3' | ||
services: | ||
mongodb: | ||
container_name: mongodb-${teamname:-defaultASW} | ||
image: mongo | ||
ports: | ||
- "27017:27017" | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- mongodb_data:/data/db | ||
|
||
authservice: | ||
container_name: authservice-${teamname:-defaultASW} | ||
image: ghcr.io/pglez82/asw2324_0/authservice:latest | ||
build: ./users/authservice | ||
ports: | ||
- "8002:8002" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
userservice: | ||
container_name: userservice-${teamname:-defaultASW} | ||
image: ghcr.io/pglez82/asw2324_0/userservice:latest | ||
build: ./users/userservice | ||
ports: | ||
- "8001:8001" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
environment: | ||
MONGODB_URI: mongodb://mongodb:27017/userdb | ||
|
||
gatewayservice: | ||
container_name: gatewayservice-${teamname:-defaultASW} | ||
image: ghcr.io/pglez82/asw2324_0/gatewayservice:latest | ||
build: ./gatewayservice | ||
ports: | ||
- "8000:8000" | ||
networks: | ||
- mynetwork | ||
depends_on: | ||
- mongodb | ||
- authservice | ||
- userservice | ||
environment: | ||
AUTH_SERVICE_URL: http://authservice:8002 | ||
USER_SERVICE_URL: http://userservice:8001 | ||
|
||
- authservice | ||
|
||
webapp: | ||
container_name: webapp-${teamname:-defaultASW} | ||
image: ghcr.io/pglez82/asw2324_0/webapp:latest | ||
build: ./webapp | ||
ports: | ||
- "3000:3000" | ||
depends_on: | ||
- gatewayservice | ||
|
||
prometheus: | ||
image: prom/prometheus | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- ./gatewayservice/monitoring/prometheus:/etc/prometheus | ||
- prometheus_data:/prometheus | ||
ports: | ||
- "9090:9090" | ||
depends_on: | ||
- gatewayservice | ||
grafana: | ||
image: grafana/grafana | ||
networks: | ||
- mynetwork | ||
volumes: | ||
- grafana_data:/var/lib/grafana | ||
- ./gatewayservice/monitoring/grafana/provisioning:/etc/grafana/provisioning | ||
environment: | ||
- GF_SERVER_HTTP_PORT=9091 | ||
- GF_AUTH_DISABLE_LOGIN_FORM=true | ||
- GF_AUTH_ANONYMOUS_ENABLED=true | ||
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin | ||
ports: | ||
- "9091:9091" | ||
depends_on: | ||
- prometheus | ||
|
||
networks: | ||
mynetwork: | ||
driver: bridge | ||
|
||
volumes: | ||
mongodb_data: | ||
prometheus_data: | ||
grafana_data: |
Oops, something went wrong.