Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://gitlab.com/outbag/containers

Docker related files, including: docker-compose.yml for easy setup, the Dockerfiles to build the container and documentation
https://gitlab.com/outbag/containers

docker dockercompose dockerfile outbag

Last synced: 3 months ago
JSON representation

Docker related files, including: docker-compose.yml for easy setup, the Dockerfiles to build the container and documentation

Awesome Lists containing this project

README

        

* Docker
Official docker files for the outbag server and app

*NOTE: Did you known that you dont have to use docker? You can use the manual method instead.*

** Requirements
- ~docker~
- ~docker-compose~
- a proxy (optional, recommended)
- a mysql database (optional)

** Guide using docker-compose
1. Create a new folder (called ~outbag~)
and put the [[https://gitlab.com/outbag/containers/-/raw/main/docker-compose.yml][docker-compose file]] into it.
Alternatively you can clone this repository (without the submodules):
#+begin_src bash
git clone https://gitlab.com/outbag/containers
#+end_src

#+RESULTS:

2. Open the ~docker-compose.yml~ file with your favourite text editor
and configure the options to your liking.
- if you do not want to deploy the web app,
make sure to remove (or comment) the ~app:~ section
- if you want to use your own database,
instead of the mariadb database from ~docker-compose~,
make sure to remove (or comment) the ~db:~ section.
3. As of writing, prebuilt images are only available for ~x64~.

If you are running on a different architecture,
you have to build the docker images first:

This requires you to download the submodules:
#+begin_src bash
git submodule update --init
#+end_src

And build the containers:
#+begin_src bash
docker-compose build --no-cache
#+end_src

4. Run ~docker-compose up -d~ to download and start the server.
To stop your server simply run `docker-compose down` in the same directory.
5. Your server should now be available on ~127.0.0.1:7223~ and the web ap on ~127.0.0.1:8080~
To stop it run ~docker-compose down~ in the same folder.