Skip to content

Commit

Permalink
Merge pull request #5 from GeotrekCE/develop
Browse files Browse the repository at this point in the history
New Docker system
  • Loading branch information
camillemonchicourt authored Sep 30, 2021
2 parents 9dc7090 + ead2456 commit 27240c2
Show file tree
Hide file tree
Showing 9 changed files with 39 additions and 17 deletions.
4 changes: 4 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
IMAGE=ghcr.io/geotrekce/geotrek-rando-v3/geotrek-rando:latest
PORT=8080
CUSTOMIZATION_DIRECTORY=./customization
MEDIAS_DIRECTORY=./medias
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.idea
.env
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

2.0.0 (unreleased)
------------------

* Compatible with Geotrek-rando-v3 version 3.2.0 and more.
* New build system with Docker Compose to install and customize a Geotrek-rando portal dynamically, without building it locally.
* Addition of an optional ``.env`` file if you want to change the Docker image URL, the running port, or the ``customization`` and ``medias`` folders path

1.0.0 (2021-04-29)
------------------

First stable version of Geotrek-rando-v3-installer.
Compatible with Geotrek-rando-v3 version 3.0.0 and more.
15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Install Geotrek-rando

This repository includes the dockerfile and the ``customization`` folder template to build your own Docker image of Geotrek-rando and install it on your own computer or server.
This repository includes the ``docker-compose.yml`` file and the ``customization`` folder template to configure and run a Docker image of Geotrek-rando application on your own computer or server.

See https://github.com/GeotrekCE/Geotrek-rando-v3 for installation and customization documentation.
1 change: 1 addition & 0 deletions VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.0
7 changes: 6 additions & 1 deletion customization/theme/colors.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"primary1": {
"DEFAULT": "#272727",
"light": "#4c4e4c"
}
}
1 change: 1 addition & 0 deletions customization/translations/en.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: "2.3"
services:
nodeserver:
image: ${IMAGE:-ghcr.io/geotrekce/geotrek-rando-v3/geotrek-rando:latest}
restart: always
ports:
- "${PORT:-8080}:3000"
volumes:
- "${CUSTOMIZATION_DIRECTORY:-./customization}:/app/customization"
- "${MEDIAS_DIRECTORY:-./medias}:/app/src/public/medias/"

0 comments on commit 27240c2

Please sign in to comment.