Fork of github.com/did-method-plc/did-method-plc

tidy

dholms a46d0a4c 65e752f9

Changed files
+7 -7
packages
+1 -1
packages/lib/build.js
···
const { nodeExternalsPlugin } = require('esbuild-node-externals')
const buildShallow =
-
process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
+
process.argv.includes('--shallow') || process.env.PLC_BUILD_SHALLOW === 'true'
if (process.argv.includes('--update-main-to-dist')) {
return pkgJson
+1 -1
packages/server/Dockerfile
···
COPY ./*.* ./
# NOTE plc's transitive dependencies go here: if that changes, this needs to be updated.
COPY ./packages/lib ./packages/lib
-
RUN ATP_BUILD_SHALLOW=true yarn install --frozen-lockfile > /dev/null
+
RUN PLC_BUILD_SHALLOW=true yarn install --frozen-lockfile > /dev/null
RUN yarn workspaces run build --update-main-to-dist > /dev/null
# Remove non-prod deps
RUN yarn install --production --ignore-scripts --prefer-offline > /dev/null
+1 -1
packages/server/build.js
···
const { nodeExternalsPlugin } = require('esbuild-node-externals')
const buildShallow =
-
process.argv.includes('--shallow') || process.env.ATP_BUILD_SHALLOW === 'true'
+
process.argv.includes('--shallow') || process.env.PLC_BUILD_SHALLOW === 'true'
if (process.argv.includes('--update-main-to-dist')) {
return pkgJson
+2 -2
packages/server/pg/README.md
···
#### `db` service for persistent use
-
The `db` service has persistent storage on the host machine managed by Docker under a volume named `pg_atp_db`. When the container is removed, data in the database will remain on the host machine. In order to start fresh, you would need to remove the volume.
+
The `db` service has persistent storage on the host machine managed by Docker under a volume named `pg_plc_db`. When the container is removed, data in the database will remain on the host machine. In order to start fresh, you would need to remove the volume.
This service runs on port `5432`.
···
$ docker compose up db -d # start container
$ docker compose stop db # stop container
$ docker compose rm db # remove container
-
$ docker volume rm pg_atp_db # remove volume
+
$ docker volume rm pg_plc_db # remove volume
```
+2 -2
packages/server/pg/docker-compose.yaml
···
healthcheck:
disable: true
volumes:
-
- atp_db:/var/lib/postgresql/data
+
- plc_db:/var/lib/postgresql/data
volumes:
-
atp_db:
+
plc_db: