mirror of
https://github.com/Unleash/unleash.git
synced 2024-10-28 19:06:12 +01:00
a53d50148b
## About the changes Instead of building from source (we require Node 18 but [DigitalOcean buildpack currently does not support it](https://www.digitalocean.com/community/questions/app-platform-node-build-pack-can-t-use-node-version-18)), we're going to use our Docker image from DockerHub: https://hub.docker.com/r/unleashorg/unleash-server Additionally, I realized that our Dockerfile only works in our CI (or performing a pre-build step which consists of building the frontend). With this PR I've also made a change to build the frontend if needed. That way our CI will continue to be optimal while anyone trying to build it from source will be able to do it by just running `docker build .` Closes #4261
19 lines
419 B
YAML
19 lines
419 B
YAML
spec:
|
|
name: unleash
|
|
services:
|
|
- name: unleash-server
|
|
image:
|
|
registry_type: DOCKER_HUB
|
|
registry: unleashorg
|
|
repository: unleash-server
|
|
tag: latest
|
|
envs:
|
|
- key: DATABASE_URL
|
|
scope: RUN_TIME
|
|
value: ${unleash-db.DATABASE_URL}
|
|
- key: UNLEASH_URL
|
|
scope: RUN_TIME
|
|
value: ${APP_URL}
|
|
databases:
|
|
- name: unleash-db
|