Skip to content

Files

Latest commit

c5cee87 · Sep 12, 2023

History

History

v2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jul 14, 2023
Sep 16, 2022
Jul 14, 2023
Sep 12, 2023
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Sep 16, 2022
Jul 14, 2023
Jul 14, 2023
Jul 14, 2023
Jul 14, 2023
Sep 16, 2022

Your Overtime - API

Go Report CardGoPublish Docker image

Swagger documentation can be found on https://your-overtime.de/api/v1/swagger/index.html.

version: "3.3"
services:
  api:
    image: ghcr.io/your-overtime/api:1
    environment:
      - HOST=0.0.0.0:8080
      - DB_USER=overtime
      - DB_PASSWORD=secret
      - DB_HOST=db:3306
      - DB_NAME=overtime
      - DEBUG=false
      - ADMIN_TOKEN=secret
      - TZ=Europe/Berlin
    restart: unless-stopped
    port: 8080:8080
  db:
    image: mariadb
    restart: unless-stopped
    volumes:
      - ./db:/var/lib/mysql
    environment:
      - MARIADB_INITDB_SKIP_TZINFO=true
      - TZ=Europe/Berlin
      - MYSQL_RANDOM_ROOT_PASSWORD=true
      - MYSQL_DATABASE=overtime
      - MYSQL_PASSWORD=secret