Reorganised deployment scripts and added rollback functionality. Updated documentation and workflow for container image builds.
This commit is contained in:
@@ -2,10 +2,7 @@ name: watermaps-production
|
||||
|
||||
services:
|
||||
watermaps:
|
||||
image: ${WATERMAPS_APP_IMAGE:-watermaps:production}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
image: ${WATERMAPS_APP_IMAGE:?WATERMAPS_APP_IMAGE fehlt}
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
HOST: 0.0.0.0
|
||||
@@ -85,10 +82,7 @@ services:
|
||||
target: /etc/letsencrypt
|
||||
|
||||
route-data:
|
||||
image: ${WATERMAPS_ROUTE_DATA_IMAGE:-watermaps-route-data:production}
|
||||
build:
|
||||
context: .
|
||||
dockerfile: deploy/route-data.Dockerfile
|
||||
image: ${WATERMAPS_ROUTE_DATA_IMAGE:?WATERMAPS_ROUTE_DATA_IMAGE fehlt}
|
||||
profiles: ["maintenance"]
|
||||
environment:
|
||||
WATERMAPS_GEOFABRIK_DIR: /workspace/data/geofabrik
|
||||
|
||||
Reference in New Issue
Block a user