inching towards a 1.0
This commit is contained in:
@@ -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:
|
|
@@ -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
|
|
@@ -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:
|
|
||||||
# - <local_path>/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:
|
|
||||||
# - <local_path>/endurain/backend/app:/app # Configure volume if you want to edit the code locally by cloning the repo
|
|
||||||
- <local_path>/endurain/backend/user_images:/app/user_images # necessary for user image persistence on container image updates
|
|
||||||
- <local_path>/endurain/backend/files/bulk_import:/app/files/bulk_import # necessary to enable bulk import of activities. Place here your activities files
|
|
||||||
- <local_path>/endurain/backend/files/processed:/app/files/processed # necessary for processed original files persistence on container image updates
|
|
||||||
- <local_path>/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:
|
|
||||||
- <local_path>/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
|
|
Submodule upstream/habitica/habitica deleted from 75c9731ca4
@@ -1,8 +0,0 @@
|
|||||||
services:
|
|
||||||
resume-matcher:
|
|
||||||
image : resume-matcher
|
|
||||||
build:
|
|
||||||
context: ./
|
|
||||||
dockerfile : build.dockerfile
|
|
||||||
ports:
|
|
||||||
- 80:8501
|
|
@@ -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:
|
|
Submodule upstream/wger deleted from 3356235709
88
vendor/cleanslate/docker-compose.yml
vendored
88
vendor/cleanslate/docker-compose.yml
vendored
@@ -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:
|
|
Reference in New Issue
Block a user