Password Manager LitePassword Manager Lite.
$ 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
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
Content type
Image
Digest
sha256:82957e48a…
Size
106.8 MB
Last updated
over 2 years ago
docker pull wcjiang/pml