Yet another .ipa / .apk beta app distribution platform - that uploads to and serves from your own cloud storage. Installs are quicker and apps do not expire.
- Install
docker-syncandmkcert - Clone this repository
- Edit
docker-compose-dev.yml
- Create a GitHub Personal access token with the
read:packagespermission. - Set
GPR_USERNAMEto your own GH username andGPR_PATaccordingly.
- Point a domain to your machine for the OAuth2 social login and iOS OTA install features to work. The
.localmDNS special-use domain name works too.
-
Generate a TLS cert for your domain. Self-signed works too. Do not change
deployapp.local.keyanddeployapp.local.crt; they are used indeployapp-web-config/nginx.conf.cd deployapp-web-config/certs && mkcert -cert-file deployapp.local.crt -key-file deployapp.local.key CHANGE_THIS.local
- Edit
deployapp-backend-config/application-dev.yml.
-
Set
spring.mail.*. Used during user registration and password reset. -
Set
security.oauth2.client.registration.*. Used during OAuth2 social login.- Create the respective OAuth applications, e.g. a Google Cloud Platform project and a new OAuth 2.0 Client ID.
- Google does not allow
.localas a valid TLD in its redirect URLs. https://redirectmeto.com is a workaround. - E.g.
https://redirectmeto.com/https://CHANGE_THIS.local:12346/login/oauth2/code/google - Set
client-id,client-secret, andredirect-urifor the social providers that you want enabled.
-
Add
https://CHANGE_THIS.local:12346(see Ports Overview below) to the comma-separatedcustom_cors.origins.
- Edit
deployapp-storage-service-config/application-dev.yml.
- Add
https://CHANGE_THIS.local:12346(see Ports Overview below) to the comma-separatedcustom_cors.origins, identical todeployapp-backend-config/application-dev.yml.
- Edit
deployapp-frontend-config/.dev.env.
REACT_APP_BASE_URLis the root backend endpoint.- Set it to
https://CHANGE_THIS.local:12346/. - In development, we reverse proxy the frontend through NGINX under the same port for simplicity (the concept of subdomains doesn't apply to
.localmDNS, etc.) - In production,
dapp-backendanddapp-storage-serviceare reverse proxied under their own subdomain;https://api.deploy.plan.ovh.
- Set it to
REACT_APP_OAUTH_REDIRECT_BASE_URLis the root frontend endpoint.- Set it to
https://CHANGE_THIS.local:12346/for the same reasons above.
- Set it to
- Set
REACT_APP_GOOGLE_AUTH_URLto the value ofREACT_APP_BASE_URL+/oauth2/authorize/google?redirect_uri=. - Set
REACT_APP_GITHUB_AUTH_URLin the same manner.
docker-sync startdocker-compose compose -f docker-compose-dev.yml up
Follow the mkcert instructions to install the CA into your system trust store or that of your other devices.
DeployApp will be available at https://CHANGE_THIS.local:12346.
TBD
The live instance of DeployApp currently runs in a K8s cluster. At least 1.5 GB of free memory is recommended for each replica of the storage service.
All the .yaml objects can be found here.
RabbitMQ (dapp-rabbitmq)
15672:567225672:15672Web management console.- Default creds:
guest:guest
- Default creds:
Redis (dapp-redis)
16379:6379- Default password:
password
- Default password:
PostgreSQL (dapp-db)
15432:5432- Default creds:
postgres:password - Default databases:
deployapp_dev_1,deployapp_storage_dev_1
- Default creds:
Backend service (dapp-backend)
18080:8080HTTP18082:8082JobRunr Dashboard15010:5010JDWP debug
Storage service (dapp-storage-service)
19080:8080HTTP16010:5010JDWP debug
Frontend (dapp-frontend)
- Not exposed; listens internally on port
3000.
NGINX reverse proxy (dapp-web)
12345:12345HTTP (for debugging purposes)12346:12346HTTPS (self-signed)
* dapp-frontend is pointed to 12346/https by default.

