Skip to content

Commit

Permalink
INCEpTION 30.2
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Jan 9, 2024
1 parent 032796d commit 88f88ef
Show file tree
Hide file tree
Showing 117 changed files with 22,172 additions and 6 deletions.
16 changes: 10 additions & 6 deletions _data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@
### LATEST BETA
###

- version: 30.0-rc-1
date: 2023-11-23
status: beta
user_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/1/
admin_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/2/
developer_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/3/
# - version: 30.0-rc-1
# date: 2023-11-23
# status: beta
# user_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/1/
# admin_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/2/
# developer_guide_url: https://build.ukp.informatik.tu-darmstadt.de/view/INCEpTION/job/inception-main/de.tudarmstadt.ukp.inception.app$inception-app-webapp/doclinks/3/


###
### RELEASE VERSIONS
###

- version: "30.2"
date: 2024-01-09
status: stable

- version: "30.1"
date: 2023-12-28
status: stable
Expand Down
5,921 changes: 5,921 additions & 0 deletions releases/30.2/docs/admin-guide.html

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions releases/30.2/docs/admin-guide/scripts/docker-compose-mysql8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
##
# docker-compose up [-d]
# docker-compose down
##
version: '2.4'

networks:
inception-net:

services:
db:
image: "mysql:8"
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=inception
- MYSQL_USER=${DBUSER:-inception}
- MYSQL_PORT=3306
- MYSQL_PASSWORD=${DBPASSWORD:-inception}
volumes:
- ${INCEPTION_DB_HOME:-db-data}:/var/lib/mysql
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-p${DBPASSWORD:-inception}", "-u${DBUSER:-inception}"]
interval: 20s
timeout: 10s
retries: 10
networks:
inception-net:

app:
image: "${INCEPTION_IMAGE:-ghcr.io/inception-project/inception}:${INCEPTION_VERSION:-{revnumber}}"
ports:
- "${INCEPTION_PORT:-8080}:8080"
environment:
- INCEPTION_DB_DIALECT=org.hibernate.dialect.MySQL8Dialect
- INCEPTION_DB_DRIVER=org.mariadb.jdbc.Driver
- INCEPTION_DB_URL=jdbc:mysql://db:3306/inception?useSSL=false&useUnicode=true&characterEncoding=UTF-8
- INCEPTION_DB_USERNAME=${DBUSER:-inception}
- INCEPTION_DB_PASSWORD=${DBPASSWORD:-inception}
volumes:
- ${INCEPTION_HOME:-app-data}:/export
depends_on:
db:
condition: service_healthy
restart: unless-stopped
networks:
inception-net:

volumes:
app-data:
db-data:
52 changes: 52 additions & 0 deletions releases/30.2/docs/admin-guide/scripts/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
##
# docker-compose up [-d]
# docker-compose down
##
version: '2.4'

networks:
inception-net:

services:
db:
image: "mariadb:10.7"
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=yes
- MYSQL_DATABASE=inception
- MYSQL_USER=${DBUSER:-inception}
- MYSQL_PORT=3306
- MYSQL_PASSWORD=${DBPASSWORD:-inception}
volumes:
- ${INCEPTION_DB_HOME:-db-data}:/var/lib/mysql
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_bin"]
healthcheck:
test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "-p${DBPASSWORD:-inception}", "-u${DBUSER:-inception}"]
interval: 20s
timeout: 10s
retries: 10
networks:
inception-net:

app:
image: "${INCEPTION_IMAGE:-ghcr.io/inception-project/inception}:${INCEPTION_VERSION:-{revnumber}}"
ports:
- "${INCEPTION_PORT:-8080}:8080"
environment:
- INCEPTION_DB_DIALECT=org.hibernate.dialect.MariaDB103Dialect
- INCEPTION_DB_DRIVER=org.mariadb.jdbc.Driver
- INCEPTION_DB_URL=jdbc:mariadb://db:3306/inception?useSSL=false&useUnicode=true&characterEncoding=UTF-8
- INCEPTION_DB_USERNAME=${DBUSER:-inception}
- INCEPTION_DB_PASSWORD=${DBPASSWORD:-inception}
- JAVA_OPTS=-Dspring.jpa.properties.hibernate.dialect.storage_engine=innodb
volumes:
- ${INCEPTION_HOME:-app-data}:/export
depends_on:
db:
condition: service_healthy
restart: unless-stopped
networks:
inception-net:

volumes:
app-data:
db-data:
142 changes: 142 additions & 0 deletions releases/30.2/docs/admin-guide/scripts/kubernetes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
kind: PersistentVolume
apiVersion: v1
metadata:
name: inception-data-pv
labels:
type: local
spec:
storageClassName: standard
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/srv/inception-kubernetes/data"
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: inception-log-pv
labels:
type: local
spec:
storageClassName: standard
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/srv/inception-kubernetes/data"
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: inception-tmp-pv
labels:
type: local
spec:
storageClassName: standard
capacity:
storage: 5Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/srv/inception-kubernetes/data"
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: inception-data-pvc
spec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: inception-tmp-pvc
spec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: inception-log-pvc
spec:
storageClassName: standard
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 5Gi
---
apiVersion: v1
kind: Service
metadata:
name: inception-svc
labels:
app: inception
spec:
type: NodePort
ports:
- protocol: TCP
port: 8080
targetPort: 8080
nodePort: 32000
selector:
app: inception
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: inception
spec:
selector:
matchLabels:
app: inception
replicas: 1
template:
metadata:
labels:
app: inception
spec:
securityContext:
runAsUser: 2000
runAsGroup: 2000
fsGroup: 2000
runAsNonRoot: true
containers:
- name: inception
image: "ghcr.io/inception-project/inception-snapshots:{revnumber}"
imagePullPolicy: Always
ports:
- containerPort: 8080
securityContext:
readOnlyRootFilesystem: true
privileged: false
volumeMounts:
- mountPath: /export
name: inception-data-pv
- mountPath: /tmp
name: inception-tmp-pv
- mountPath: /var/log
name: inception-log-pv
volumes:
- name: inception-data-pv
persistentVolumeClaim:
claimName: inception-data-pvc
- name: inception-tmp-pv
persistentVolumeClaim:
claimName: inception-tmp-pvc
- name: inception-log-pv
persistentVolumeClaim:
claimName: inception-log-pvc
Loading

0 comments on commit 88f88ef

Please sign in to comment.