Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
6cfdb507cd
|
|||
|
309663284b
|
|||
|
1b8efc107b
|
|||
|
a26d3ed655
|
|||
|
ded68a90d1
|
29
.env.sample
29
.env.sample
@ -41,16 +41,21 @@ QUEUE_DRIVER=database
|
||||
#MAIL_PASSWORD="SMTP Password"
|
||||
#MAIL_ENCRYPTION=tls
|
||||
|
||||
COMPANY_NAME=""
|
||||
COMPANY_REPRESENTATIVES=""
|
||||
COMPANY_STREET=""
|
||||
COMPANY_BUILDING=""
|
||||
COMPANY_POSTALCODE=""
|
||||
COMPANY_CITY=""
|
||||
COMPANY_COUNTRY=""
|
||||
COMPANY_TELEPHONE=""
|
||||
COMPANY_EMAIL=""
|
||||
INSTANCE_REPO="https://codeberg.org/eotl/open-inventory"
|
||||
INSTANCE_NAME=""
|
||||
INSTANCE_DESCRIPTION=""
|
||||
INSTANCE_REPRESENTATIVES=""
|
||||
INSTANCE_ADDRESS=""
|
||||
INSTANCE_POSTALCODE=""
|
||||
INSTANCE_CITY=""
|
||||
INSTANCE_COUNTRY=""
|
||||
INSTANCE_TELEPHONE=""
|
||||
INSTANCE_EMAIL=""
|
||||
|
||||
#EOTL_PATH_DATA="/home/eotl/data"
|
||||
#EOTL_URL_DISPATCH="http://localhost:8082"
|
||||
#EOTL_URL_SEXTANT="http://localhost:8081"
|
||||
EOTL_URL_DISPATCH="http://localhost:8082"
|
||||
EOTL_URL_SEXTANT="http://localhost:8081"
|
||||
|
||||
OSMR_NOMINATIM_URL=https://nominatim.openstreetmap.org/search.php
|
||||
IDENTIFICATOR_URL=https://eotl.link
|
||||
IDENTIFICATOR_USERNAME=
|
||||
IDENTIFICATOR_PASSWORD=
|
||||
|
||||
8
abra.sh
8
abra.sh
@ -14,12 +14,16 @@ initial_setup() {
|
||||
# clear config cache, where a previous invalid APP_KEY might still be present
|
||||
clear_cache
|
||||
|
||||
run_migrations
|
||||
|
||||
create_first_admin_user
|
||||
}
|
||||
|
||||
run_migrations() {
|
||||
echo "DB migrations status:"
|
||||
php artisan migrate:status
|
||||
echo "Starting DB migrations..."
|
||||
php artisan migrate
|
||||
|
||||
create_first_admin_user
|
||||
}
|
||||
|
||||
clear_cache() {
|
||||
|
||||
@ -3,7 +3,7 @@ version: '3.8'
|
||||
services:
|
||||
app:
|
||||
# Dockerfile here: https://codeberg.org/eotl/open-inventory/src/branch/main/docker/prod/Dockerfile
|
||||
image: codeberg.org/eotl/open-inventory:0.0.10
|
||||
image: codeberg.org/eotl/open-inventory:0.0.11
|
||||
depends_on:
|
||||
- db
|
||||
networks:
|
||||
@ -32,8 +32,7 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
|
||||
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
|
||||
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.0+0.0.11"
|
||||
|
||||
- "coop-cloud.${STACK_NAME}.version=1.0.12"
|
||||
db:
|
||||
image: mariadb:10.5
|
||||
init: true
|
||||
|
||||
Reference in New Issue
Block a user