wishthis / docker

wishthis - Official docker image
https://wishthis.online/
GNU Affero General Public License v3.0
23 stars 3 forks source link

wishthis logo

wishthis - Official docker image

wishthis is a simple, intuitive and modern wishlist platform to create, manage and view your wishes for any kind of occasion.

wishthis : documentation and setup

Always refer you to wishthis documentation.

Docker : usage

You can find support and an updated documentation on our Github's repository. We host ours docker images on Docker's hub or ghcr.io

Three tags/images are avalaibles:

Docker-compose

Always refer you to Docker compose documentation.

Here a sample of docker-compose.yml. MySQL server isn't included in image, you should set it in another container :

version: '3.7'

services:
  wishthis:
    container_name: wishthis
    restart: unless-stopped
    image: hiob/wishthis:stable
    environment:
      - VIRTUAL_HOST=sub.domain.ext
    ports:
      - 80:80
    volumes:
      - ./config.php:/var/www/html/src/config/config.php
    networks:
      - wishthis

  mariadb:
    container_name: db
    restart: unless-stopped
    image: mariadb
    environment:
      MARIADB_ROOT_PASSWORD: rootpassword
      MARIADB_DATABASE: databasename
      MARIADB_USER: username
      MARIADB_PASSWORD: userpassword
    volumes:
      - ./data:/var/lib/mysql
    ports:
      - 3306:3306
    networks:
      - wishthis

networks:
  wishthis:
    external: true

Wishthis will be available to http://localhost:80.

You can use a reverse proxy (Nginx, Traefik, SWAG...) to serve wishthis with is own (sub)domain name.

Permanent configuration

At first launch, if you didn't create a Wishthis's configuration file by mounting a permanent volume, You will be invite to setup Wishthis and database.

To keep your database configuration permanent, mount a volume (see example above), create a file named config.php and copy the config-sample.php from Github's repo.