Skip to content

Latest commit

 

History

History
45 lines (42 loc) · 1.17 KB

README.Docker.md

File metadata and controls

45 lines (42 loc) · 1.17 KB

Building and running your application

When you're ready, start your application by running: docker compose up --build.

Docker-comple.yaml example:

version: '3'
services:
  actual_server:
    container_name: myedenredactual
    image: docker.io/rodriguestiago0/myedenredactual
    environment:
      - PUID=1003
      - PGID=100
      - TZ=Europe/Lisbon
      - EDENRED_USERNAME= 
      - EDENRED_PIN= 
      - EDENRED_VERSION= # default 4.1.0
      - EDENRED_ACCOUNT=
      - ACTUAL_ACCOUNT=
      - EDENRED_ACCOUNT_1=
      - ACTUAL_ACCOUNT_1=
      - ACTUAL_SERVER_URL= 
      - ACTUAL_SERVER_PASSWORD=
      - ACTUAL_SYNC_ID=
      - CRON_EXPRESSION= # default value is "0 */4 * * *"
    restart: unless-stopped
docker run -d --name myedenredactual \
    - e 'EDENRED_USERNAME=' \
    - e 'EDENRED_PIN=' \
    - e 'EDENRED_VERSION=' \
    - e 'EDENRED_ACCOUNT=' \
    - e 'ACTUAL_ACCOUNT=' \
    - e 'EDENRED_ACCOUNT_1=' \
    - e 'ACTUAL_ACCOUNT_1=' \
    - e 'ACTUAL_SERVER_URL= ' \
    - e 'ACTUAL_SERVER_PASSWORD=' \
    - e 'ACTUAL_SYNC_ID=' \
    - e CRON_EXPRESSION= # default value is "0 */4 * '* *"' \
  --restart=on-failure rodriguestiago0/myedenredactual:latest