From e06e3c4c4835544686a6442ced1dbd3d791af876 Mon Sep 17 00:00:00 2001 From: ReachableCEO Date: Fri, 29 Nov 2024 09:32:27 -0600 Subject: [PATCH] inching towards a 1.0 --- upstream/cleanslate/docker-compose.yml | 88 ------------------- upstream/easy-gate/docker-compose.yml | 10 --- upstream/endurain/docker-compose.yml | 98 ---------------------- upstream/habitica/habitica | 1 - upstream/resume-matcher/docker-compose.yml | 8 -- upstream/tube-archivist/docker-compose.yml | 65 -------------- upstream/wger | 1 - vendor/cleanslate/docker-compose.yml | 88 ------------------- 8 files changed, 359 deletions(-) delete mode 100644 upstream/cleanslate/docker-compose.yml delete mode 100644 upstream/easy-gate/docker-compose.yml delete mode 100644 upstream/endurain/docker-compose.yml delete mode 160000 upstream/habitica/habitica delete mode 100644 upstream/resume-matcher/docker-compose.yml delete mode 100644 upstream/tube-archivist/docker-compose.yml delete mode 160000 upstream/wger delete mode 100644 vendor/cleanslate/docker-compose.yml diff --git a/upstream/cleanslate/docker-compose.yml b/upstream/cleanslate/docker-compose.yml deleted file mode 100644 index adeab70..0000000 --- a/upstream/cleanslate/docker-compose.yml +++ /dev/null @@ -1,88 +0,0 @@ -services: - database: - image: postgres:15 - restart: always - container_name: database - ports: - - '${POSTGRES_PORT:-5432}:5432' - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - volumes: - - database:/var/lib/postgresql/data - healthcheck: - test: [ 'CMD-SHELL', 'pg_isready -U postgres'] - interval: 10s - timeout: 5s - retries: 5 - - graphql-server: - image: hasura/graphql-engine:latest.cli-migrations-v3 - restart: always - container_name: graphql-server - ports: - - '${HASURA_PORT:-8080}:8080' - environment: - HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} - HASURA_GRAPHQL_CORS_DOMAIN: https://${NEXT_PUBLIC_HASURA_DOMAIN} - HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@database:5432/postgres - HASURA_GRAPHQL_DEV_MODE: false - HASURA_GRAPHQL_ENABLE_CONSOLE: true - HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log - HASURA_GRAPHQL_JWT_SECRET: ${HASURA_GRAPHQL_JWT_SECRET} - volumes: - - ./migrations:/hasura-migrations - - ./metadata:/hasura-metadata - depends_on: - database: - condition: service_healthy - extra_hosts: - - 'host.docker.internal:host-gateway' - - authentication-server: - image: ghcr.io/successible/cleanslate/authentication-server:latest - build: - context: . - dockerfile: Dockerfile.server - pull_policy: ${PULL_POLICY:-always} - restart: always - container_name: authentication-server - ports: - - '${AUTHENTICATION_SERVER_PORT:-3001}:3001' - environment: - HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} - JWT_SIGNING_SECRET: ${JWT_SIGNING_SECRET} - NEXT_PUBLIC_USE_FIREBASE: ${NEXT_PUBLIC_USE_FIREBASE:-false} - depends_on: - - database - - graphql-server - extra_hosts: - - 'host.docker.internal:host-gateway' - - client: - image: ghcr.io/successible/cleanslate/client:latest - build: - context: . - dockerfile: Dockerfile - args: - - NEXT_PUBLIC_FIREBASE_CONFIG=${NEXT_PUBLIC_FIREBASE_CONFIG:-{}} - - NEXT_PUBLIC_LEGAL_LINK=${NEXT_PUBLIC_LEGAL_LINK:-no} - - NEXT_PUBLIC_LOGIN_WITH_APPLE=${NEXT_PUBLIC_LOGIN_WITH_APPLE:-no} - - NEXT_PUBLIC_LOGIN_WITH_FACEBOOK=${NEXT_PUBLIC_LOGIN_WITH_FACEBOOK:-no} - - NEXT_PUBLIC_LOGIN_WITH_GITHUB=${NEXT_PUBLIC_LOGIN_WITH_GITHUB:-no} - - NEXT_PUBLIC_LOGIN_WITH_GOOGLE=${NEXT_PUBLIC_LOGIN_WITH_GOOGLE:-no} - - NEXT_PUBLIC_REACT_SENTRY_DSN=${NEXT_PUBLIC_REACT_SENTRY_DSN:-no} - - NEXT_PUBLIC_USE_FIREBASE=${NEXT_PUBLIC_USE_FIREBASE:-false} - - NEXT_PUBLIC_VERSION=${NEXT_PUBLIC_VERSION} - pull_policy: ${PULL_POLICY:-always} - restart: always - container_name: client - ports: - - '${CLIENT_PORT:-3000}:3000' - depends_on: - - database - - graphql-server - extra_hosts: - - 'host.docker.internal:host-gateway' - -volumes: - database: diff --git a/upstream/easy-gate/docker-compose.yml b/upstream/easy-gate/docker-compose.yml deleted file mode 100644 index a5078c6..0000000 --- a/upstream/easy-gate/docker-compose.yml +++ /dev/null @@ -1,10 +0,0 @@ -services: - easy-gate: - image: r7wx/easy-gate:latest - build: . - container_name: easy-gate - restart: unless-stopped - ports: - - 8080:8080 - volumes: - - ./easy-gate.json:/etc/easy-gate/easy-gate.json diff --git a/upstream/endurain/docker-compose.yml b/upstream/endurain/docker-compose.yml deleted file mode 100644 index a6ad03e..0000000 --- a/upstream/endurain/docker-compose.yml +++ /dev/null @@ -1,98 +0,0 @@ -services: - # frontend logic - frontend: - container_name: frontend - image: ghcr.io/joaovitoriasilva/endurain/frontend:latest - environment: - - MY_APP_BACKEND_PROTOCOL=http # http or https, default is http - - MY_APP_BACKEND_HOST=localhost:98 # api host or local ip (example: 192.168.1.10:98), default is localhost:98 - - MY_APP_STRAVA_CLIENT_ID=changeme - # Configure volume if you want to edit the code locally by clomming the repo - #volumes: - # - /endurain/frontend/app:/app - ports: - - "8080:80" # frontend port, change per your needs - restart: unless-stopped - - # API logic - backend: - container_name: backend - image: ghcr.io/joaovitoriasilva/endurain/backend:latest - environment: - - DB_PASSWORD=changeme - - SECRET_KEY=changeme # openssl rand -hex 32 - - STRAVA_CLIENT_ID=changeme - - STRAVA_CLIENT_SECRET=changeme - - STRAVA_AUTH_CODE=changeme - - GEOCODES_MAPS_API=changeme - - FRONTEND_PROTOCOL=http # default is http - - FRONTEND_HOST=localhost:8080 # frontend host or local ip (example: 192.168.1.10:8080), default is localhost:8080 - ports: - - "98:80" # API port, change per your needs - volumes: - # - /endurain/backend/app:/app # Configure volume if you want to edit the code locally by cloning the repo - - /endurain/backend/user_images:/app/user_images # necessary for user image persistence on container image updates - - /endurain/backend/files/bulk_import:/app/files/bulk_import # necessary to enable bulk import of activities. Place here your activities files - - /endurain/backend/files/processed:/app/files/processed # necessary for processed original files persistence on container image updates - - /endurain/backend/logs:/app/logs # log files for the backend - - depends_on: - - mariadb - - jaeger # optional - restart: unless-stopped - - # mysql mariadb logic - mariadb: - image: mariadb:latest - container_name: mariadb - environment: - - MYSQL_ROOT_PASSWORD=changeme - - MYSQL_DATABASE=endurain - - MYSQL_USER=endurain - - MYSQL_PASSWORD=changeme - ports: - - "3306:3306" - volumes: - - /mariadb:/var/lib/mysql - restart: unless-stopped - - # Jaeger for opentelemetry - optional - # Jaeger is not enabled by default. If you do not need it or want it, you can remove this container - jaeger: - container_name: jaeger - image: jaegertracing/all-in-one:latest - environment: - - PUID=1000 - - PGID=1000 - - TZ=Europe/Lisbon - - COLLECTOR_ZIPKIN_HOST_PORT=:9411 - ports: - - 6831:6831/udp - - 6832:6832/udp - - 5778:5778 - - 16686:16686 - - 4317:4317 - - 4318:4318 - - 14250:14250 - - 14268:14268 - - 14269:14269 - - 9411:9411 - restart: unless-stopped - -# phpmyadmin for DB manipulation - optional - phpmyadmin: - container_name: phpmyadmin - image: phpmyadmin - ports: - - 81:80 - environment: - - PMA_HOST=mariadb - - PMA_ARBITRARY=1 - depends_on: - - mariadb - restart: unless-stopped - -networks: - default: - external: true - name: backend_network \ No newline at end of file diff --git a/upstream/habitica/habitica b/upstream/habitica/habitica deleted file mode 160000 index 75c9731..0000000 --- a/upstream/habitica/habitica +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 75c9731ca47c254a0e25226a70d37372ef9a2694 diff --git a/upstream/resume-matcher/docker-compose.yml b/upstream/resume-matcher/docker-compose.yml deleted file mode 100644 index 5cda386..0000000 --- a/upstream/resume-matcher/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -services: - resume-matcher: - image : resume-matcher - build: - context: ./ - dockerfile : build.dockerfile - ports: - - 80:8501 diff --git a/upstream/tube-archivist/docker-compose.yml b/upstream/tube-archivist/docker-compose.yml deleted file mode 100644 index f7e4dd9..0000000 --- a/upstream/tube-archivist/docker-compose.yml +++ /dev/null @@ -1,65 +0,0 @@ -version: '3.5' - -services: - tubearchivist: - container_name: tubearchivist - restart: unless-stopped - image: bbilly1/tubearchivist - ports: - - 8000:8000 - volumes: - - media:/youtube - - cache:/cache - environment: - - ES_URL=http://archivist-es:9200 # needs protocol e.g. http and port - - REDIS_HOST=archivist-redis # don't add protocol - - HOST_UID=1000 - - HOST_GID=1000 - - TA_HOST=tubearchivist.local # set your host name - - TA_USERNAME=tubearchivist # your initial TA credentials - - TA_PASSWORD=verysecret # your initial TA credentials - - ELASTIC_PASSWORD=verysecret # set password for Elasticsearch - - TZ=America/New_York # set your time zone - healthcheck: - test: ["CMD", "curl", "-f", "http://localhost:8000/health"] - interval: 2m - timeout: 10s - retries: 3 - start_period: 30s - depends_on: - - archivist-es - - archivist-redis - archivist-redis: - image: redis/redis-stack-server - container_name: archivist-redis - restart: unless-stopped - expose: - - "6379" - volumes: - - redis:/data - depends_on: - - archivist-es - archivist-es: - image: bbilly1/tubearchivist-es # only for amd64, or use official es 8.14.3 - container_name: archivist-es - restart: unless-stopped - environment: - - "ELASTIC_PASSWORD=verysecret" # matching Elasticsearch password - - "ES_JAVA_OPTS=-Xms1g -Xmx1g" - - "xpack.security.enabled=true" - - "discovery.type=single-node" - - "path.repo=/usr/share/elasticsearch/data/snapshot" - ulimits: - memlock: - soft: -1 - hard: -1 - volumes: - - es:/usr/share/elasticsearch/data # check for permission error when using bind mount, see readme - expose: - - "9200" - -volumes: - media: - cache: - redis: - es: diff --git a/upstream/wger b/upstream/wger deleted file mode 160000 index 3356235..0000000 --- a/upstream/wger +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 335623570988f0f81e3106e09fe20c6ad77f7735 diff --git a/vendor/cleanslate/docker-compose.yml b/vendor/cleanslate/docker-compose.yml deleted file mode 100644 index adeab70..0000000 --- a/vendor/cleanslate/docker-compose.yml +++ /dev/null @@ -1,88 +0,0 @@ -services: - database: - image: postgres:15 - restart: always - container_name: database - ports: - - '${POSTGRES_PORT:-5432}:5432' - environment: - POSTGRES_PASSWORD: ${POSTGRES_PASSWORD} - volumes: - - database:/var/lib/postgresql/data - healthcheck: - test: [ 'CMD-SHELL', 'pg_isready -U postgres'] - interval: 10s - timeout: 5s - retries: 5 - - graphql-server: - image: hasura/graphql-engine:latest.cli-migrations-v3 - restart: always - container_name: graphql-server - ports: - - '${HASURA_PORT:-8080}:8080' - environment: - HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} - HASURA_GRAPHQL_CORS_DOMAIN: https://${NEXT_PUBLIC_HASURA_DOMAIN} - HASURA_GRAPHQL_DATABASE_URL: postgres://postgres:${POSTGRES_PASSWORD}@database:5432/postgres - HASURA_GRAPHQL_DEV_MODE: false - HASURA_GRAPHQL_ENABLE_CONSOLE: true - HASURA_GRAPHQL_ENABLED_LOG_TYPES: startup, http-log, webhook-log, websocket-log, query-log - HASURA_GRAPHQL_JWT_SECRET: ${HASURA_GRAPHQL_JWT_SECRET} - volumes: - - ./migrations:/hasura-migrations - - ./metadata:/hasura-metadata - depends_on: - database: - condition: service_healthy - extra_hosts: - - 'host.docker.internal:host-gateway' - - authentication-server: - image: ghcr.io/successible/cleanslate/authentication-server:latest - build: - context: . - dockerfile: Dockerfile.server - pull_policy: ${PULL_POLICY:-always} - restart: always - container_name: authentication-server - ports: - - '${AUTHENTICATION_SERVER_PORT:-3001}:3001' - environment: - HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET} - JWT_SIGNING_SECRET: ${JWT_SIGNING_SECRET} - NEXT_PUBLIC_USE_FIREBASE: ${NEXT_PUBLIC_USE_FIREBASE:-false} - depends_on: - - database - - graphql-server - extra_hosts: - - 'host.docker.internal:host-gateway' - - client: - image: ghcr.io/successible/cleanslate/client:latest - build: - context: . - dockerfile: Dockerfile - args: - - NEXT_PUBLIC_FIREBASE_CONFIG=${NEXT_PUBLIC_FIREBASE_CONFIG:-{}} - - NEXT_PUBLIC_LEGAL_LINK=${NEXT_PUBLIC_LEGAL_LINK:-no} - - NEXT_PUBLIC_LOGIN_WITH_APPLE=${NEXT_PUBLIC_LOGIN_WITH_APPLE:-no} - - NEXT_PUBLIC_LOGIN_WITH_FACEBOOK=${NEXT_PUBLIC_LOGIN_WITH_FACEBOOK:-no} - - NEXT_PUBLIC_LOGIN_WITH_GITHUB=${NEXT_PUBLIC_LOGIN_WITH_GITHUB:-no} - - NEXT_PUBLIC_LOGIN_WITH_GOOGLE=${NEXT_PUBLIC_LOGIN_WITH_GOOGLE:-no} - - NEXT_PUBLIC_REACT_SENTRY_DSN=${NEXT_PUBLIC_REACT_SENTRY_DSN:-no} - - NEXT_PUBLIC_USE_FIREBASE=${NEXT_PUBLIC_USE_FIREBASE:-false} - - NEXT_PUBLIC_VERSION=${NEXT_PUBLIC_VERSION} - pull_policy: ${PULL_POLICY:-always} - restart: always - container_name: client - ports: - - '${CLIENT_PORT:-3000}:3000' - depends_on: - - database - - graphql-server - extra_hosts: - - 'host.docker.internal:host-gateway' - -volumes: - database: