Skip to content

Commit 4062774

Browse files
committedJan 3, 2023
Update build action config file
1 parent 04395e5 commit 4062774

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed
 

‎.github/workflows/build.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717

1818
env:
1919
PYTHON: ${{ matrix.python-version }}
20-
20+
AIDBOX_LICENSE: ${{ secrets.AIDBOX_LICENSE}}
2121
steps:
2222
- uses: actions/checkout@v3
2323
- name: Set up Python ${{ matrix.python-version }}

‎Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11
1+
FROM python:${PYTHON}
22
RUN pip install pipenv
33

44
RUN mkdir /app

‎docker-compose.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
ports:
1818
- "8080:8080"
1919
env_file:
20-
- .env
20+
- env_tests
2121
environment:
2222
PGHOST: database
2323
PGDATABASE: devbox
@@ -49,7 +49,9 @@ services:
4949
links:
5050
- devbox
5151
env_file:
52-
- .env
52+
- env_tests
53+
environment:
54+
- PYTHON=${PYTHON}
5355
ports:
5456
- "8081:8081"
5557
volumes:

‎.env-tpl renamed to ‎env_tests

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Visit https://aidbox.app/ui/portal to get a licence key
2-
AIDBOX_LICENSE=
3-
4-
# comment to get unsecured box
51
AIDBOX_CLIENT_ID=root
62
AIDBOX_CLIENT_SECRET=secret
73
AIDBOX_BASE_URL=http://devbox:8080
@@ -23,3 +19,5 @@ AIO_APP_PATH=.
2319

2420
OPENID_RSA=/var/config/jwtRS256.key
2521
OPENID_RSA_PUB=/var/config/jwtRS256.key.pub
22+
23+
AIDBOX_STDOUT_PRETTY=debug

0 commit comments

Comments
 (0)