Skip to content

Commit

Permalink
minimize diff
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Mar 1, 2024
1 parent 6bbf5be commit 0461741
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 22 deletions.
16 changes: 5 additions & 11 deletions docker-compose-with-transit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ services:
condition: service_completed_successfully
networks:
- otp_backend
ports:
- "9001:8000"
# ports:
# - "9001:8000"
travelmux:
image: ghcr.io/headwaymaps/travelmux:latest
restart: always
Expand Down Expand Up @@ -79,8 +79,6 @@ services:
env_file: .env
networks:
- valhalla_backend
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
- valhalla_frontend
volumes:
- "valhalla_data:/data/:ro"
ulimits:
Expand All @@ -90,8 +88,8 @@ services:
depends_on:
valhalla-init:
condition: service_completed_successfully
ports:
- "9002:8002"
# ports:
# - "9002:8002"
frontend-init:
image: ghcr.io/headwaymaps/headway-init:latest
env_file: .env
Expand All @@ -106,15 +104,13 @@ services:
HEADWAY_RESOLVER: 127.0.0.11
HEADWAY_PELIAS_URL: http://pelias-api:4000
HEADWAY_TILESERVER_URL: http://tileserver:8000
HEADWAY_TRANSITMUX_URL: http://travelmux:8000
HEADWAY_TRAVELMUX_URL: http://travelmux:8000
ports:
- "8080:8080"
networks:
- pelias_frontend
- tileserver_frontend
- travel_frontend
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
- valhalla_frontend
volumes:
- "frontend_data:/data/:ro"
depends_on:
Expand Down Expand Up @@ -215,8 +211,6 @@ networks:
pelias_backend:
travel_frontend:
valhalla_backend:
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
valhalla_frontend:
otp_backend:
volumes:
pelias_config_data:
Expand Down
13 changes: 6 additions & 7 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ services:
image: ghcr.io/headwaymaps/travelmux:latest
restart: always
env_file: .env
depends_on:
opentripplanner:
condition: service_healthy
networks:
- travel_frontend
- valhalla_backend
Expand All @@ -54,8 +57,6 @@ services:
env_file: .env
networks:
- valhalla_backend
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
- valhalla_frontend
volumes:
- "valhalla_data:/data/:ro"
ulimits:
Expand All @@ -65,6 +66,8 @@ services:
depends_on:
valhalla-init:
condition: service_completed_successfully
# ports:
# - "9002:8002"
frontend-init:
image: ghcr.io/headwaymaps/headway-init:latest
env_file: .env
Expand All @@ -79,15 +82,13 @@ services:
HEADWAY_RESOLVER: 127.0.0.11
HEADWAY_PELIAS_URL: http://pelias-api:4000
HEADWAY_TILESERVER_URL: http://tileserver:8000
HEADWAY_TRANSITMUX_URL: http://travelmux:8000
HEADWAY_TRAVELMUX_URL: http://travelmux:8000
ports:
- "8080:8080"
networks:
- pelias_frontend
- tileserver_frontend
- travel_frontend
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
- valhalla_frontend
volumes:
- "frontend_data:/data/:ro"
depends_on:
Expand Down Expand Up @@ -188,8 +189,6 @@ networks:
pelias_backend:
travel_frontend:
valhalla_backend:
# deprecated - can delete this eventually since valhalla is only accessed via travelmux
valhalla_frontend:
volumes:
pelias_config_data:
pelias_placeholder_data:
Expand Down
10 changes: 6 additions & 4 deletions services/frontend/www-app/quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,9 @@ module.exports = configure(function (/* ctx */) {
node: 'node16',
},

vueRouterMode: 'hash', // available values: 'hash', 'history'
vueRouterMode: 'history', // available values: 'hash', 'history'
// Use this for dev where we don't have mod_rewrite, otherwise refreshing page 404's
// vueRouterMode: 'hash',
// vueRouterBase,
// vueDevtools,
// vueOptionsAPI: false,
Expand Down Expand Up @@ -117,9 +119,9 @@ module.exports = configure(function (/* ctx */) {
},
'/travelmux': {
changeOrigin: true,
// target: HEADWAY_HOST,
target: 'http://0.0.0.0:8000',
rewrite: (path) => path.replace(/^\/travelmux/, ''),
target: HEADWAY_HOST,
// target: 'http://0.0.0.0:8000',
// rewrite: (path) => path.replace(/^\/travelmux/, ''),
},
},
},
Expand Down

0 comments on commit 0461741

Please sign in to comment.