small fixes on docker swarm deployment (#265)
* fix COPY with multiple files * Update Deployment.md
This commit is contained in:
parent
b40765134c
commit
70767f0ac2
@ -20,6 +20,8 @@ as with multi-machine setups. Docker Swarm is part of Docker, so if you have Doc
|
|||||||
|
|
||||||
2. You can edit `configs/config.env` and `configs/config.yaml` to set default passwords for superadmin, minio and mongodb.
|
2. You can edit `configs/config.env` and `configs/config.yaml` to set default passwords for superadmin, minio and mongodb.
|
||||||
|
|
||||||
|
2.5: Optionally: run `build-swarm.sh` to build the Docker images locally on your machine (eg. if you've made any changes).
|
||||||
|
|
||||||
3. Run `run-swarm.sh` to initialize the cluster.
|
3. Run `run-swarm.sh` to initialize the cluster.
|
||||||
|
|
||||||
4. Load `http://localhost:9871/` to see the Browsertrix Cloud login page. (The API is also available at: `http://localhost:9871/api/docs`).
|
4. Load `http://localhost:9871/` to see the Browsertrix Cloud login page. (The API is also available at: `http://localhost:9871/api/docs`).
|
||||||
|
|||||||
@ -11,7 +11,7 @@ ENV GIT_COMMIT_HASH=${GIT_COMMIT_HASH} \
|
|||||||
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY yarn.lock package.json .
|
COPY yarn.lock package.json ./
|
||||||
RUN yarn --frozen-lockfile
|
RUN yarn --frozen-lockfile
|
||||||
|
|
||||||
COPY lit-localize.json \
|
COPY lit-localize.json \
|
||||||
@ -20,7 +20,7 @@ COPY lit-localize.json \
|
|||||||
tsconfig.json \
|
tsconfig.json \
|
||||||
webpack.config.js \
|
webpack.config.js \
|
||||||
webpack.prod.js \
|
webpack.prod.js \
|
||||||
.
|
./
|
||||||
|
|
||||||
COPY src ./src/
|
COPY src ./src/
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user