ZeusWPI / Haldis

Haldis is your friendly neighbourhood servant. He exists so lazy fucks like you and me don't need to keep tabs of who is ordering what from where.
Other
13 stars 15 forks source link

Dockerize the application #213

Closed maximdeclercq closed 1 year ago

maximdeclercq commented 1 year ago

I worked further on the MS auth branch (would have caused merge conflicts otherwise anyway), so https://github.com/ZeusWPI/Haldis/pull/214 should preferably be merged first

maximdeclercq commented 1 year ago

@redfast00 I feel like this works fine.

Development:

$ docker compose up -d

Production:

$ cat .env
COMPOSE_FILE=docker-compose.yml
MARIADB_DATABASE=<hidden>
MARIADB_ROOT_PASSWORD=<hidden>
MARIADB_USER=<hidden>
MARIADB_PASSWORD=<hidden>
$ docker compose up -d
maximdeclercq commented 1 year ago

I've also added Zeus menus by default. If someone needs other menus, they can mount over /src/menus.

maximdeclercq commented 1 year ago

@redfast00 conflicts also resolved here, depends on https://github.com/ZeusWPI/Haldis/pull/214

redfast00 commented 1 year ago

Hm, ik snap niet goed waarom de changes van in #214 hier nu ook in staan, als die al gemerged is.

maximdeclercq commented 1 year ago

Cleaned up @redfast00