Sign inSign up

wcjiang/pml

By wcjiang

Updated over 2 years ago

Password Manager Lite.

Image
0

1.7K

wcjiang/pml repository overview

Password Manager Lite

Node.js CI Docker Image Version (latest by date) Docker Image Size (latest by date) Docker Pulls

Password Manager Lite.

Docker start service

$ docker build -t pml .

Start the postgres container

docker run \
  -p 5432:5432 \
  -e POSTGRES_PASSWORD=wcjiang \
  --name postgres \
  --restart always \
  -d \
  postgres:latest

Start the pml container

$ docker run --name pml \
  -p 3560:3002 \
  -e POSTGRES_HOST=192.168.31.179 \
  -e POSTGRES_USER=postgres \
  -e POSTGRES_PASSWORD=wcjiang \
  -e POSTGRES_DB=pml \
  -d pml

Docker Compose

version: '3.8'
services:
  postgres:
    image: postgres:latest
    # ports:
    #   - 5432:5432
    environment:
      - POSTGRES_PASSWORD=wcjiang
    restart: always

  pml:
    image: pml:latest
    ports:
      - 3560:3002
    environment:
      - POSTGRES_HOST=postgres
      - POSTGRES_USER=postgres
      - POSTGRES_PASSWORD=wcjiang
      - POSTGRES_DB=pml
    depends_on:
      - postgres

Run the following command to start the container

docker-compose --project-name pml-server up -d
docker-compose -p pml-server -f docker-compose.yml down --remove-orphans --rmi local -v
# Or
docker stack deploy -c docker-compose.yml pml-server

Tag summary

Content type

Image

Digest

sha256:82957e48a

Size

106.8 MB

Last updated

over 2 years ago

docker pull wcjiang/pml