Skip to content

Commit

Permalink
chore: add tailscale to dockerfile (#161) (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
XBeg9 authored Nov 24, 2021
1 parent 38b357d commit c2bc688
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 6 deletions.
5 changes: 5 additions & 0 deletions .changeset/empty-olives-invite.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'docs': patch
---

add jest-cache folder
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ certs
temp
**/docs/api
data/*
!data/.gitkeep
!data/.gitkeep
.jest-cache
6 changes: 6 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,20 @@ tasks:
before: yarn
init: yarn build
command: yarn watch
openMode: tab-after
- name: Jest
init: yarn test
command: yarn test --watch
openMode: split-right
- name: tailscaled
command: |
sudo tailscaled
openMode: tab-after
- name: tailscale
command: |
sudo -E tailscale up --hostname "gitpod-${GITPOD_WORKSPACE_ID}" \
--authkey "${TAILSCALE_AUTHKEY}"
openMode: split-right

experimentalNetwork: true

Expand Down
Empty file removed data/.gitkeep
Empty file.
8 changes: 4 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ services:
- NEO4JLABS_PLUGINS=["apoc"]
- NEO4J_dbms_security_procedures_whitelist=apoc.*
volumes:
- ./data/neo4j/data:/data
- ./data/neo4j/logs:/logs
- ./data/neo4j/import:/var/lib/neo4j/import
- ./data/neo4j/plugins:/plugins
- $HOME/neo4j/data:/data
- $HOME/neo4j/logs:/logs
- $HOME/neo4j/import:/var/lib/neo4j/import
- $HOME/neo4j/plugins:/plugins
healthcheck:
test: wget http://localhost:7474/browser -O -
interval: 1s
Expand Down
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
cacheDirectory: '.jest-cache',
testPathIgnorePatterns: [
'/node_modules/',
'/dist/',
'/coverage/',
'/fixtures/'
'/fixtures/',
'/data/neo4j'
]
};

0 comments on commit c2bc688

Please sign in to comment.