Skip to content

Commit

Permalink
Update the Arango composer json to http and improve regex for db url
Browse files Browse the repository at this point in the history
  • Loading branch information
rpkoller committed Jun 12, 2023
1 parent 3eaf4ff commit 133e02e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config.spidergram.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
nodejs_version: "18"
hooks:
post-start:
- exec: perl -pi -e "s/(?<=http:\/\/)(.*)(?=.ddev.site:8529)/$DDEV_PROJECT/g" ./spidergram.config.json
- exec: perl -pi -e "s/(https?:\/\/).*\d{4}/\1$DDEV_PROJECT.$DDEV_TLD:8529/g" ./spidergram.config.json
4 changes: 1 addition & 3 deletions docker-compose.arangodb.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
#ddev-generated
# Simple template to demonstrate addon-template
# Addon for ArangoDB 3.10.2
---
services:
arangodb:
container_name: "ddev-${DDEV_SITENAME}-arangodb"
image: arangodb/arangodb:3.10.2
expose:
- "8529"
environment:
- VIRTUAL_HOST=$DDEV_HOSTNAME
- HTTP_EXPOSE=8529:8529
Expand Down

0 comments on commit 133e02e

Please sign in to comment.