Skip to content

Commit 1b6ec44

Browse files
committed
Merge remote-tracking branch 'origin/main' into dc3e4-new-matrix-field
2 parents 4d4b747 + 4af1e05 commit 1b6ec44

File tree

138 files changed

+16070
-7411
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+16070
-7411
lines changed

.dockerignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
/.git
22
/Dockerfile
33
/data
4+
\.env

.env.docker

+3-15
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,19 @@ APP_NAME="OpnForm"
22
APP_ENV=local
33
APP_KEY=
44
APP_DEBUG=false
5-
APP_LOG_LEVEL=debug
65
APP_URL=http://localhost
76

87
LOG_CHANNEL=errorlog
98
LOG_LEVEL=debug
109

11-
DB_CONNECTION=pgsql
12-
DB_HOST=127.0.0.1
13-
DB_PORT=5432
14-
DB_DATABASE=postgres
15-
DB_USERNAME=postgres
16-
DB_PASSWORD=postgres
17-
18-
FILESYSTEM_DRIVER=s3
19-
FILESYSTEM_DISK=s3
10+
FILESYSTEM_DRIVER=local
2011

2112
BROADCAST_CONNECTION=log
2213
CACHE_STORE=redis
2314
QUEUE_CONNECTION=redis
24-
SESSION_DRIVER=file
15+
SESSION_DRIVER=redis
2516
SESSION_LIFETIME=120
2617

27-
REDIS_HOST=127.0.0.1
28-
REDIS_PASSWORD=null
29-
REDIS_PORT=6379
30-
3118
MAIL_MAILER=log
3219
MAIL_HOST=
3320
MAIL_PORT=
@@ -57,3 +44,4 @@ MUX_WORKSPACE_ID=
5744
MUX_API_TOKEN=
5845

5946
OPEN_AI_API_KEY=
47+
SELF_HOSTED=true

.github/workflows/dockerhub.yml

+18-7
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,27 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Get tag name
14-
run: ( echo "TAG_NAME=${GITHUB_REF#refs/*/v}"; echo "DOCKER_REPO=${{secrets.DOCKER_REPO}}") >> $GITHUB_ENV
14+
run: |
15+
(
16+
echo "TAG_NAME=${GITHUB_REF#refs/*/v}";
17+
echo "DOCKER_UI_REPO=${{secrets.DOCKER_UI_REPO}}"
18+
echo "DOCKER_API_REPO=${{secrets.DOCKER_API_REPO}}"
19+
) >> $GITHUB_ENV
1520
1621
- name: Check out the repo
1722
uses: actions/checkout@v3
1823

1924
- name: Log in to Docker Hub
2025
run: docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_ACCESS_TOKEN }}"
21-
22-
- name: Build docker image
23-
run: docker build . -t $DOCKER_REPO:latest -t $DOCKER_REPO:$TAG_NAME
24-
25-
- name: Push Docker image
26-
run: docker push $DOCKER_REPO:latest && docker push $DOCKER_REPO:$TAG_NAME
26+
27+
- name: Build docker api image
28+
run: docker build -f docker/Dockerfile.api . -t $DOCKER_API_REPO:latest -t $DOCKER_API_REPO:$TAG_NAME
29+
30+
- name: Build docker ui image
31+
run: docker build -f docker/Dockerfile.client . -t $DOCKER_UI_REPO:latest -t $DOCKER_UI_REPO:$TAG_NAME
32+
33+
- name: Push Docker api image
34+
run: docker push $DOCKER_API_REPO:latest && docker push $DOCKER_API_REPO:$TAG_NAME
35+
36+
- name: Push Docker ui image
37+
run: docker push $DOCKER_UI_REPO:latest && docker push $DOCKER_UI_REPO:$TAG_NAME

.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ public/.DS_Store
2929
.env.production
3030
.env.staging
3131
_ide_helper.php
32-
32+
docker-compose.override.yml
3333
/.make.*

Dockerfile

-98
This file was deleted.

0 commit comments

Comments
 (0)