Skip to content

Commit

Permalink
INCEpTION 34.3
Browse files Browse the repository at this point in the history
  • Loading branch information
reckart committed Nov 12, 2024
1 parent 06073d9 commit d22c298
Show file tree
Hide file tree
Showing 117 changed files with 23,865 additions and 0 deletions.
4 changes: 4 additions & 0 deletions _data/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
### RELEASE VERSIONS
###

- version: "34.3"
date: 2024-11-12
status: stable

- version: "34.2"
date: 2024-10-29
status: stable
Expand Down
6,450 changes: 6,450 additions & 0 deletions releases/34.3/docs/admin-guide.html

Large diffs are not rendered by default.

51 changes: 51 additions & 0 deletions releases/34.3/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.3"
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:
50 changes: 50 additions & 0 deletions releases/34.3/docs/admin-guide/scripts/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
##
# docker-compose up [-d]
# docker-compose down
##
version: '2.4'

networks:
inception-net:

services:
db:
image: "mariadb:11.4"
environment:
- MARIADB_RANDOM_ROOT_PASSWORD=yes
- MARIADB_DATABASE=inception
- MARIADB_USER=${DBUSER:-inception}
- MARIADB_PASSWORD=${DBPASSWORD:-inception}
- MARIADB_AUTO_UPGRADE=1
volumes:
- ${INCEPTION_DB_HOME:-db-data}:/var/lib/mysql
command: ["--character-set-server=utf8mb4", "--collation-server=utf8mb4_bin"]
healthcheck:
test: ["CMD", "mariadb-admin" ,"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.MariaDB106Dialect
- 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}
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/34.3/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 d22c298

Please sign in to comment.