No description
Find a file
2023-07-04 23:18:05 +02:00
.gitlab Init 2023-07-04 11:51:13 +02:00
cmd/cafe-plaetschwiesle Restructure project 2023-07-04 23:07:23 +02:00
docker Fix build process 2023-07-04 23:09:41 +02:00
frontend Fix swagger deps 2023-07-04 23:18:05 +02:00
internal Fix swagger deps 2023-07-04 23:18:05 +02:00
scripts Fix swagger deps 2023-07-04 23:18:05 +02:00
.air.toml Restructure project 2023-07-04 23:07:23 +02:00
.gitattributes Init 2023-07-04 11:51:13 +02:00
.gitignore Init 2023-07-04 11:51:13 +02:00
.gitlab-ci.yml Add some tests from gitlab 2023-07-04 13:46:08 +02:00
docker-compose.yml Restructure project 2023-07-04 23:07:23 +02:00
go.mod Restructure project 2023-07-04 23:07:23 +02:00
go.sum Restructure project 2023-07-04 23:07:23 +02:00
LICENSE Init 2023-07-04 11:51:13 +02:00
README.md Init 2023-07-04 11:51:13 +02:00

Café Plätschwiesle

Alt vue Alt typescript Alt go

docker-compose example

services:
  cafe:
    image: ghcr.io/flohoss/cafe-plaetschwiesle:latest
    container_name: cafe
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - ALLOWED_HOSTS=http://localhost:5000,https://home.example.com
      - SWAGGER=true
      - LOG_LEVEL=info # trace,debug,info,warn,error,fatal,panic
    volumes:
      - ./storage:/app/storage
    ports:
      - '127.0.0.1:5000:5000'

docker-compose example with MariaDB as database

networks:
  net:
    external: false

services:
  cafe-db:
    image: lscr.io/linuxserver/mariadb:latest
    container_name: cafe-db
    restart: unless-stopped
    environment:
      - PUID=1000
      - PGID=1000
      - MYSQL_ROOT_PASSWORD=root
      - TZ=Europe/Berlin
      - MYSQL_DATABASE=db
      - MYSQL_USER=user
      - MYSQL_PASSWORD=password
    volumes:
      - ./db:/config
    expose:
      - 3306
    networks:
      - net

  cafe:
    image: ghcr.io/flohoss/cafe-plaetschwiesle:latest
    container_name: cafe
    restart: unless-stopped
    depends_on:
      - cafe-db
    environment:
      - PUID=1000
      - PGID=1000
      - ALLOWED_HOSTS=http://localhost:5000,https://home.example.com
      - SWAGGER=true
      - LOG_LEVEL=info # trace,debug,info,warn,error,fatal,panic
      - MYSQL_URL=cafe-db:3306
      - MYSQL_USER=user
      - MYSQL_PASSWORD=password
      - MYSQL_DATABASE=db
    volumes:
      - ./storage:/app/storage
    ports:
      - '127.0.0.1:5000:5000'
    networks:
      - net