Release: weekly deploy
This commit is contained in:
@@ -10,6 +10,8 @@ DB_NAME=gallery_prod
|
||||
|
||||
PORT=5173
|
||||
HOST=0.0.0.0
|
||||
APP_ENV=prod
|
||||
IMAGE_TAG=latest
|
||||
PUBLIC_URL=https://gallery.mysuperlab.netcraze.pro
|
||||
TRUST_PROXY=true
|
||||
IMAGE_DIR=/app/data/images
|
||||
|
||||
@@ -6,7 +6,7 @@ services:
|
||||
build:
|
||||
context: ../..
|
||||
dockerfile: infra/docker/Dockerfile
|
||||
image: gitea.mysuperlab.netcraze.pro/danilka/gallery-web:latest
|
||||
image: gitea.mysuperlab.netcraze.pro/danilka/gallery-web:${IMAGE_TAG:-latest}
|
||||
container_name: gallery-web
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
# See infra/docker/DEPLOY-truenas.md and Documentation/environments.md
|
||||
services:
|
||||
web:
|
||||
image: gitea.mysuperlab.netcraze.pro/danilka/gallery-web:latest
|
||||
image: gitea.mysuperlab.netcraze.pro/danilka/gallery-web:${IMAGE_TAG:-latest}
|
||||
container_name: gallery-web
|
||||
restart: unless-stopped
|
||||
pull_policy: always
|
||||
@@ -18,6 +18,8 @@ services:
|
||||
- "5173:5173"
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
APP_ENV: "prod"
|
||||
IMAGE_TAG: "${IMAGE_TAG:-latest}"
|
||||
PORT: "5173"
|
||||
HOST: "0.0.0.0"
|
||||
DB_HOST: "192.168.10.122"
|
||||
|
||||
Reference in New Issue
Block a user