Sign inSign up

elestio/password-pusher

Verified Publisher

By Elestio

•Updated 12 months ago

Password-pusher, verified and packaged by Elestio

Image
Security
0

10K+

elestio/password-pusher repository overview

elest.io ⁠

Discord Elestio examples Blog

⁠Password Pusher, verified and packaged by Elestio

Password Pusher⁠ is an opensource application to communicate passwords over the web. Links to passwords expire after a certain number of views and/or time has passed.

password-pusher

deploy

Deploy a fully managed Password Pusher⁠ on elest.io⁠ if you want a free and open-source, decentralized, ActivityPub federated video platform powered by WebTorrent, that uses peer-to-peer technology to reduce load on individual servers when viewing videos.

⁠Why use Elestio images?

  • Elestio stays in sync with updates from the original source and quickly releases new versions of this image through our automated processes.
  • Elestio images provide timely access to the most recent bug fixes and features.
  • Our team performs quality control checks to ensure the products we release meet our high standards.

⁠Usage

⁠Git clone

You can deploy it easily with the following command:

git clone https://github.com/elestio-examples/password-pusher.git

Copy the .env file from tests folder to the project directory

cp ./tests/.env ./.env

Edit the .env file with your own values.

Create data folders with correct permissions

set -o allexport; source .env; set +o allexport;

mkdir -p ./storage
chown -R 1000:1000 ./storage

cat << EOT >> ./.env

PWP__MAIL__MAILER_SENDER='"Password Pusher" <[email protected]>'
EOT

Run the project with the following command

docker-compose up -d

You can access the Web UI at: http://your-domain:33140

⁠Docker-compose

Here are some example snippets to help you get started creating a container.

version: "3.3"
services:
  db:
    image: elestio/mysql:8.0
    restart: always
    ports:
      - "172.17.0.1:50632:3306"
    environment:
      - MYSQL_USER=pwpush
      - MYSQL_PASSWORD=${MYSQL_PASSWORD}
      - MYSQL_DATABASE=pwpush
      - MYSQL_ROOT_PASSWORD=${MYSQL_PASSWORD}
    volumes:
      - ./mysql:/var/lib/mysql

  pwpush:
    image: eleastio4test/pwpush:latest
    restart: always
    ports:
      - "172.17.0.1:33140:5100"
    env_file:
      - ./.env
    depends_on:
      - db
    links:
      - db:mysql
    volumes:
      - ./storage:/opt/PasswordPusher/storage

  pma:
    image: elestio/phpmyadmin:latest
    restart: always
    links:
      - db:db
    ports:
      - "172.17.0.1:5965:80"
    environment:
      PMA_HOST: db
      PMA_PORT: 3306
      PMA_USER: pwpush
      PMA_PASSWORD: ${MYSQL_PASSWORD}
      UPLOAD_LIMIT: 500M
      MYSQL_USERNAME: pwpush
      MYSQL_ROOT_PASSWORD: ${MYSQL_PASSWORD}
    depends_on:
      - db
⁠Environment variables
VariableValue (example)
MYSQL_USERdatabase username
MYSQL_PASSWORDdatabase password
MYSQL_DATABASEdatabase name
MYSQL_ROOT_PASSWORDdatabase root password
PMA_HOSTdatabase hostname
PMA_PORTdatabase port
PMA_PASSWORDdatabase password
UPLOAD_LIMITimport file size limit

⁠Maintenance

⁠Logging

The Elestio Password-Pusher Docker image sends the container logs to stdout. To view the logs, you can use the following command:

docker-compose logs -f

To stop the stack you can use the following command:

docker-compose down

⁠Backup and Restore with Docker Compose

To make backup and restore operations easier, we are using folder volume mounts. You can simply stop your stack with docker-compose down, then backup all the files and subfolders in the folder near the docker-compose.yml file.

Creating a ZIP Archive For example, if you want to create a ZIP archive, navigate to the folder where you have your docker-compose.yml file and use this command:

zip -r myarchive.zip .

Restoring from ZIP Archive To restore from a ZIP archive, unzip the archive into the original folder using the following command:

unzip myarchive.zip -d /path/to/original/folder

Starting Your Stack Once your backup is complete, you can start your stack again with the following command:

docker-compose up -d

That's it! With these simple steps, you can easily backup and restore your data volumes using Docker Compose.

Tag summary

Content type

Image

Digest

sha256:b7bae914b…

Size

151.4 MB

Last updated

12 months ago

docker pull elestio/password-pusher

This week's pulls

Pulls:

289

Sep 14 to Sep 20