Update deployment instructions
This commit is contained in:
parent
496df2db02
commit
de5fd083a6
@ -43,11 +43,10 @@ to redirect requests to your dev instance.
|
|||||||
|
|
||||||
# Deploying
|
# Deploying
|
||||||
|
|
||||||
|
Images are built and pushed to Docker Hub by Jenkins.
|
||||||
To deploy in prod adjust `DOORBOY_SECRET`, `MONGO_URI` in `.env` and proceed to launch:
|
To deploy in prod adjust `DOORBOY_SECRET`, `MONGO_URI` in `.env` and proceed to launch:
|
||||||
|
|
||||||
```
|
```
|
||||||
docker build -t 172.20.40.1:5000/doorboy:latest .
|
|
||||||
docker push 172.20.40.1:5000/doorboy:latest
|
|
||||||
overnode pull
|
overnode pull
|
||||||
overnode up
|
overnode up
|
||||||
```
|
```
|
||||||
|
@ -6,11 +6,12 @@ networks:
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
app:
|
app:
|
||||||
image: 172.20.40.1:5000/doorboy:latest
|
image: kspaceee/doorboy-proxy:latest
|
||||||
hostname: replica${OVERNODE_ID}.doorboy.infra.k-space.ee
|
hostname: replica${OVERNODE_ID:-1}.doorboy.infra.k-space.ee
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
user: "65534:65534"
|
||||||
networks:
|
networks:
|
||||||
infra:
|
infra:
|
||||||
ipv4_address: 172.21.57.${OVERNODE_ID}
|
ipv4_address: 172.21.57.${OVERNODE_ID:-1}
|
||||||
ipv6_address: 2001:bb8:4008:21:57::${OVERNODE_ID}
|
ipv6_address: 2001:bb8:4008:21:57::${OVERNODE_ID:-1}
|
||||||
|
Loading…
Reference in New Issue
Block a user