Skip to content

Commit

Permalink
update app name from 'decendisk' to 'decentdisk'
Browse files Browse the repository at this point in the history
  • Loading branch information
dekiakbar committed Feb 9, 2024
1 parent 2789cfe commit 5e1057c
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ INTERNAL_CID_LENGTH=10
# db container is ezposed to localhost.
POSTGRES_APP_HOST=localhost
POSTGRES_APP_PORT=5432
POSTGRES_APP_USER='decendisk'
POSTGRES_APP_PASSWORD='decendisk'
POSTGRES_APP_DB='decendisk'
POSTGRES_APP_USER='decentdisk'
POSTGRES_APP_PASSWORD='decentdisk'
POSTGRES_APP_DB='decentdisk'

# passport-jwt
JWT_EXPIRES=3600s
Expand Down Expand Up @@ -54,9 +54,9 @@ IPFS_RPC_API_PORT=5001
# Docker DB container config
POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_USER='decendisk'
POSTGRES_PASSWORD='decendisk'
POSTGRES_DB='decendisk'
POSTGRES_USER='decentdisk'
POSTGRES_PASSWORD='decentdisk'
POSTGRES_DB='decentdisk'
POSTGRES_DATA_PATH=./data/db

#
Expand Down
10 changes: 5 additions & 5 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ services:
- ${POSTGRES_DATA_PATH}:/var/lib/postgresql/data
restart: on-failure
networks:
- decendisk
- decentdisk
be:
container_name: backend-api
build:
Expand All @@ -26,7 +26,7 @@ services:
volumes:
- './:/app'
networks:
- decendisk
- decentdisk
ipfs:
container_name: backend-ipfs
image: ipfs/kubo:latest
Expand All @@ -36,7 +36,7 @@ services:
- ${IPFS_STAGING}:/export
- ${IPFS_DATA}:/data/ipfs
networks:
- decendisk
- decentdisk
node:
container_name: backend-node
build:
Expand All @@ -48,7 +48,7 @@ services:
volumes:
- './:/app'
networks:
- decendisk
- decentdisk
networks:
decendisk:
decentdisk:
external: true
4 changes: 2 additions & 2 deletions deploy
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
GREEN='\033[0;32m'
BOLD='\033[1m'
RESET='\033[0m'
NETWORK_NAME="decendisk"
NETWORK_NAME="decentdisk"

if [ $# -ne 1 ]; then
echo -e "${GREEN}${BOLD}Usage: $0 <prod | dev | install | stop>${RESET}"
Expand Down Expand Up @@ -31,7 +31,7 @@ if [ "$1" = "prod" ]; then
elif [ "$1" = "dev" ]; then
echo -e "${GREEN}${BOLD}Starting application in development mode...${RESET}"
docker compose up --build --force-recreate -d db ipfs
docker compose up be
docker compose up --build --force-recreate be
elif [ "$1" = "install" ]; then
echo -e "${GREEN}${BOLD}Installing npm package...${RESET}"
# install node package
Expand Down

0 comments on commit 5e1057c

Please sign in to comment.