You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Matthew Raymer b8b47caf55 bugfix and documentation 1 year ago
.gitignore WIP: building up VAPID and subscription 1 year ago
Dockerfile OOP and documented 1 year ago
README.md bugfix and documentation 1 year ago
app.py bugfix and documentation 1 year ago
b64.py Add a pause before sending to the gateway 1 year ago
build.sh WIP: building up VAPID and subscription 1 year ago
init_db.py Somewhat stable VAPID generation 1 year ago
models.py Somewhat stable VAPID generation 1 year ago
requirements.txt OOP and documented 1 year ago
webpush.py Add a pause before sending to the gateway 1 year ago

README.md

py-push-server

Docker Compose Setup

version: '3.1'

services:
  endorser-push-server:
    container_name: 'endorser-push-server'
    image: endorser-push-server:1.0
    build:
        context: ./py-push-server
    volumes:
      - /docker-volumes/pwa-push-server/data:/app/instance/data
    restart: always
    networks:
      - phoenix-network

networks:
  phoenix-network:
    external: true

ON first run you need to:

docker network create phoenix-network