Sign inSign up

divadsn/pylife-cron

By divadsn

•Updated over 6 years ago

Repository containing updater script to be executed via cron.

Image
0

281

divadsn/pylife-cron repository overview

⁠pylife-cron

Repository containing updater script to be executed via cron.

⁠Usage

Use the following content for the docker-compose.yml file, then run docker-compose up.

# Use postgres/example user/password credentials
version: '3.1'

services:

  db:
    image: postgres
    restart: always
    environment:
      POSTGRES_PASSWORD: example
      POSTGRES_DB: pylife

  cron:
    image: divadsn/pylife-cron
    restart: always
    environment:
      TZ: "Europe/Warsaw"
      DATABASE_URI: "postgresql://postgres:example@db:5432/pylife"
    depends_on:
      - db

Tag summary

Content type

Image

Digest

Size

88 MB

Last updated

over 6 years ago

docker pull divadsn/pylife-cron