Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
Doorcode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
a59e60d0
Commit
a59e60d0
authored
Jan 07, 2020
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modern problems require modern solutions
parent
12df0695
Pipeline
#693
passed with stages
in 1 minute and 40 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
17 deletions
+7
-17
.gitlab-ci.yml
.gitlab-ci.yml
+1
-1
docker-compose.yml
docker-compose.yml
+3
-3
src/web/backend/.env.example
src/web/backend/.env.example
+1
-1
src/web/backend/configure.sh
src/web/backend/configure.sh
+1
-6
src/web/install-dev.sh
src/web/install-dev.sh
+1
-6
No files found.
.gitlab-ci.yml
View file @
a59e60d0
...
...
@@ -15,7 +15,7 @@ build_web_backend:
stage
:
build
script
:
-
cd src/web
-
./install-dev.sh
gitlab
-
./install-dev.sh
artifacts
:
paths
:
-
src/web/backend/vendor
...
...
docker-compose.yml
View file @
a59e60d0
...
...
@@ -17,9 +17,9 @@ services:
-
./nginx/conf.d/:/etc/nginx/conf.d/
networks
:
-
doorcode
db
:
postgres
:
image
:
postgres:12-alpine
container_name
:
db
container_name
:
postgres
restart
:
unless-stopped
tty
:
true
ports
:
...
...
@@ -38,7 +38,7 @@ services:
ports
:
-
"
8081:80"
environment
:
PHP_PG_ADMIN_SERVER_HOST
:
db
PHP_PG_ADMIN_SERVER_HOST
:
postgres
PHP_PG_ADMIN_SERVER_DEFAULT_DB
:
doorcode
networks
:
-
doorcode
...
...
src/web/backend/.env.example
View file @
a59e60d0
...
...
@@ -5,7 +5,7 @@ APP_DEBUG=true
APP_URL=http://localhost
DB_CONNECTION=pgsql
DB_HOST=
db
DB_HOST=
postgres
DB_PORT=5432
DB_DATABASE=doorcode
DB_USERNAME=web
...
...
src/web/backend/configure.sh
View file @
a59e60d0
#!/bin/bash
if
[
$#
-eq
0
]
then
cp
.env.example .env
else
cp
.env.gitlab .env
fi
cp
.env.example .env
php artisan clear-compiled
php artisan cache:clear
...
...
src/web/install-dev.sh
View file @
a59e60d0
...
...
@@ -5,10 +5,5 @@ composer install -d backend
# configure the backend
cd
backend
||
exit
if
[
$#
-eq
0
]
then
./configure.sh
else
./configure.sh
"
$1
"
fi
./configure.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment