api

command module
v1.5.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
Package docs GENERATED BY THE COMMAND ABOVE; DO NOT EDIT This file was generated by swaggo/swag
internal
pkg
v2
pkg Module

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL