Skip to content
This repository has been archived by the owner on Nov 10, 2022. It is now read-only.

Deploy easyappointments

License

Notifications You must be signed in to change notification settings

sudo-bot/docker-easyappointments

Repository files navigation

A Docker EasyAppointments image

Usage

Note: you need to login to ghcr.io using your GitHub account:

docker login ghcr.io
version: "2.3"

services:
    easyappointments:
    image: ghcr.io/sudo-bot/docker-easyappointments/docker-easyappointments:latest
    environment:
        BASE_URL: http://easyappointments
        DB_HOST: mariadb.local
        DB_NAME: easyappointments
        DB_USERNAME: easyappointments
        DB_PASSWORD: easyappointments
        # DEBUG_MODE: true
        # French is the default lang
        DEFAULT_LANG: french
    healthcheck:
        test:
        [
            "CMD",
            "curl",
            "-s",
            "--fail",
            "http://127.0.0.1/.nginx/status",
                ]
        start_period: 5s
        interval: 15s
        timeout: 1s
    networks:
        # The network where mariadb.local resolves to an IP
        mynetwork:
    ports:
        - "127.0.0.36:80:80"