Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
bdac914
chore: update web and api to latest development commits
macite Aug 31, 2022
67c3715
chore: update submodules to latest versions
macite Sep 1, 2022
1664e2a
chore: update submodules
macite Sep 10, 2022
c4ea8fc
build: add build folders to compose
macite Dec 7, 2022
33b40f2
build: version dev container builds
macite Dec 8, 2022
81fabdb
chore: update submodule versions
macite Dec 8, 2022
c88999d
chore(config): update husky version and git ignore
macite Dec 29, 2022
5a86a3a
build: create dev container
macite Jan 2, 2023
6328398
build: add redis support and update gem config
macite Jan 7, 2023
5799267
feat: build and populate database in dev container
macite Jan 24, 2023
aa59183
chore: setup data structure
macite Jan 27, 2023
ddb0ed5
build: enhance devcontainer
macite Jan 28, 2023
22b3b88
chore: move database creation to inline
macite Jan 31, 2023
f27d67c
chore: persist irb history
macite Jan 31, 2023
243eb87
chore: ensure database started in devcontainer
macite Feb 1, 2023
34151f6
chore: remove deprecated liveshare audio extension
macite Feb 6, 2023
d8211f3
chore: update submodule versions
macite Feb 23, 2023
b4a110d
build: update dev container image and scripts
macite Feb 23, 2023
8775813
chore: update scripts to release in dev container
macite Feb 23, 2023
d1d5f7c
chore: update release notes for 7.0.0
macite Feb 23, 2023
0376d55
chore(release): 7.0.0
macite Feb 23, 2023
50f3e9a
chore: update bundler version in dev container
macite Feb 27, 2023
93d554f
chore: incorporate jupyter notebook support
macite Feb 28, 2023
42860a9
fix: ensure change remotes runs in bash
macite Mar 3, 2023
9d8c6a1
chore: update api and web versions
macite Mar 3, 2023
ac4bea8
chore: update web submodule
macite Mar 3, 2023
9dae756
fix: ensure release is functioning
macite Mar 3, 2023
4a26a07
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Mar 3, 2023
b563b94
build: update node version
macite Mar 17, 2023
30bee5f
build: update dev container to include docker
macite Mar 21, 2023
6cada84
chore: update version for development image
macite Mar 27, 2023
bab4a0b
chore: remove sudo from docker file install commands
macite Mar 27, 2023
cd85214
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Mar 27, 2023
dfa6b98
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Mar 27, 2023
13bd383
chore: update submodules
macite Mar 27, 2023
2372a86
chore: add legacy deps for now
macite Mar 27, 2023
0b99cc6
chore: install legacy packages for web
macite Mar 27, 2023
640e923
chore: update image version for development compose
macite Mar 29, 2023
fb63314
chore: update web and remove legacy npm install
macite Mar 29, 2023
77f8298
chore: utilise docker volume for node modules in development
macite Mar 30, 2023
8136061
chore: launch db as vscode user
macite Mar 30, 2023
3a014cc
build: add tailwind ext to devcontainer
jakerenzella May 13, 2023
267c729
chore: update dev container and submodule versions
macite May 30, 2023
64349b4
chore: add qpdf to dev container
macite May 30, 2023
4166f8f
Launch frontend + backend when opened
jakerenzella Jun 22, 2023
a8a1982
Merge branch 'development' of https://github.com/doubtfire-lms/doubtf…
macite Jul 7, 2023
8979d61
fix: move devcontainer resources to volumes
macite Jul 7, 2023
7a1a1bd
fix: ensure database is setup with vscode user on create
macite Jul 7, 2023
1bfc6b2
fix: ensure volumes are writable by vscode
macite Jul 7, 2023
19be8d9
fix: update to 8.1 for devcontainer
macite Jul 10, 2023
685ec78
fix: ensure components installed in tasks
macite Jul 10, 2023
21abe7e
docs: contributing-dev-containers
maddernd Jul 11, 2023
f84255f
Merge pull request #21 from maddernd/doc/devcontainer-instructions
macite Jul 11, 2023
7771e7c
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Jul 13, 2023
f38c0c6
fix: permissions and simulate of signoff
macite Jul 14, 2023
1b452bd
Merge branch 'development' of https://github.com/doubtfire-lms/doubtf…
macite Jul 14, 2023
ab4d11f
fix: global npm install angular and fix path
macite Jul 14, 2023
43712a2
chore: update dev container to new image
macite Jul 14, 2023
6ac2787
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Jul 18, 2023
ae8104e
docs: document new ldap bind features
macite Sep 4, 2023
6fbe24e
Merge branch 'development' of https://github.com/macite/doubtfire-dep…
macite Sep 4, 2023
3a940e3
feat: progress redis integration into development compose
macite Mar 22, 2024
90efa0a
fix: force npm install in the vscode task
TinyServal Mar 26, 2024
857f20c
Merge pull request #23 from ublefo/development
macite Apr 8, 2024
85fc42a
Merge branch '7.0.x' into development
macite Jun 10, 2024
ab363b3
Merge branch 'main' into development
macite Jun 10, 2024
d87d3da
chore: ensure lf file endings
macite Jun 14, 2024
6fb92dd
Merge branch 'development' of https://github.com/doubtfire-lms/doubtf…
macite Jul 30, 2024
d4922f7
fix: ensure we have support for svg in the dev image
macite Jul 30, 2024
8c2169a
refactor: initial setup for texlive container
b0ink Aug 9, 2024
6775582
fix: create texlive dockerfile with dependencies
b0ink Aug 10, 2024
0f580d2
fix: mount api test files to fix student-work symlinks
b0ink Aug 10, 2024
3d8c7cf
fix: remove workspace mounts, use docker-compose for shared volumes
b0ink Aug 12, 2024
90af541
refactor: format
b0ink Aug 12, 2024
85e2429
fix: ensure dev container initialises first
b0ink Aug 12, 2024
bcec94f
fix: copy script instead of using a mount and fix permissions
b0ink Aug 16, 2024
d184116
chore: create env variables for latex container
b0ink Aug 16, 2024
1342890
chore: update path to script
b0ink Aug 17, 2024
314613d
chore: rename latex build script
b0ink Aug 17, 2024
8ced986
chore: remove unnecessary volume mount
b0ink Aug 19, 2024
a13e295
Merge remote-tracking branch 'origin/development' into refactor/latex…
b0ink Aug 19, 2024
3f755db
refactor: use original rails-latex tmp folder
b0ink Aug 21, 2024
916c338
refactor: initial setup for mariadb docker downsize
b0ink Sep 5, 2024
b1bd1e1
refactor: add mariadb service
b0ink Sep 5, 2024
1f6e037
refactor: update db host
b0ink Sep 10, 2024
f6b6243
fix: remove mysql init from dockerfile
b0ink Sep 10, 2024
1a97da2
chore: temporarily rename containers
b0ink Sep 10, 2024
0bf8538
fix: set correct mysql db
b0ink Sep 16, 2024
1eaed82
fix: revert db name
b0ink Sep 16, 2024
f761fe5
fix: remove tmp folder on new build
b0ink Sep 16, 2024
628af89
fix: remove previous logs to fix permission issues
b0ink Sep 16, 2024
24efdcc
refactor: remove platform property
b0ink Sep 16, 2024
a86b3fa
fix: typo
b0ink Sep 16, 2024
1b40cc8
chore: remove platform
b0ink Sep 16, 2024
a3af75f
fix: ensure devcontainer user has docker permissions
b0ink Sep 21, 2024
4455292
chore: update included vscode extensions
macite Jan 22, 2025
de2478b
chore: update submodules
macite Jan 22, 2025
7c56e3a
Merge branch 'development' of https://github.com/doubtfire-lms/doubtf…
macite Jan 22, 2025
fd49484
chore: update submodules
macite Jan 22, 2025
3be6e35
chore: switch settings to port 4200
macite Jan 23, 2025
afe753f
Merge branch 'development' into 8.0.x
macite Jan 23, 2025
a7d9464
chore: keep wip files
macite Feb 12, 2025
f5546c0
Merge branch '8.0.x' of https://github.com/doubtfire-lms/doubtfire-de…
macite Feb 12, 2025
a3e3fd1
fix: update images for dev container and compose
macite Mar 6, 2025
07e9f57
Merge branch 'development' into 8.0.x
macite Mar 6, 2025
12403e3
chore: add dev container build action
macite Mar 7, 2025
b380d43
fix: change env in deploy action
macite Mar 7, 2025
9cf6af2
fix: add missing docker file reference
macite Mar 7, 2025
ee9d1df
fix: dev container image remove package file
macite Mar 7, 2025
ae4c877
fix: ensure action recursive checkout
macite Mar 7, 2025
182464a
feat: add multiplatform build
macite Mar 7, 2025
fa07b93
fix: remove symlink to doubtfire in devcontainer
macite Mar 8, 2025
682696c
fix: rework build yml
macite Mar 8, 2025
ef2578a
fix: correct env setting in dev dockerfile
macite Mar 8, 2025
9e679eb
Merge branch 'new/compose-container' into refactor/latex-docker-downs…
macite Apr 1, 2025
c23dc46
Merge branch 'b0ink-refactor/latex-docker-downsize-deploy' into new/c…
macite Apr 1, 2025
5399401
chore: update dev container
macite Apr 1, 2025
0b43652
Merge branch 'new/compose-container' into refactor/mariadb-docker-dow…
macite Apr 1, 2025
fdeacee
Merge pull request #2 from b0ink/refactor/mariadb-docker-downsize-deploy
macite Apr 1, 2025
e89b577
chore: update compose to include redis
macite Apr 1, 2025
4f033d3
chore: add sidekiq task
macite Apr 1, 2025
ff29748
chore: update to linked api version for latex change
macite Apr 1, 2025
4e6b231
chore(release): 10.0.0-0
macite Apr 1, 2025
d1d8b1b
chore: add matix to build latex and devcontainer images
macite Apr 1, 2025
f180648
chore(release): 10.0.0-1
macite Apr 1, 2025
1cd857f
chore: use texlive dockerfile for latex container
macite Apr 1, 2025
bdfb088
chore(release): 10.0.0-2
macite Apr 1, 2025
1a2305b
chore: update dev compose to use new setup
macite Apr 1, 2025
b9633a8
chore: mark initial 10.0.x submodules
macite Apr 4, 2025
7dcbfd6
fix: ensure texlive has public assets
macite Apr 10, 2025
97f9e58
chore(release): 10.0.0-3
macite Apr 10, 2025
21cfa3c
chore: update production
macite Apr 10, 2025
904514a
chore: ensure public files are in doubtfire folder
macite Apr 10, 2025
51a178f
chore(release): 10.0.0-4
macite Apr 10, 2025
de40888
chore: update production image versions
macite Apr 10, 2025
74d8d15
quality: change env settings in dockerfile to new format
macite Apr 10, 2025
0dba514
chore: ensure access to docker socket in dev container
macite Apr 11, 2025
b8cc7e4
chore: move latex dockerfile to api
macite Apr 11, 2025
4925bfc
chore(release): 10.0.0-5
macite Apr 11, 2025
c898c02
chore: update compose
macite Jun 23, 2025
8b9eaa0
feat: add groundworks for jplag implementation
JackSCarroll Aug 8, 2024
4d8e078
chore: add files that werent committed the first time
JackSCarroll Aug 18, 2024
f2210d9
chore: add tmp file to jplag container volumes
JackSCarroll Aug 21, 2024
7ba839e
feat: add new jplag jar to host webserver without opening browser
JackSCarroll Sep 10, 2024
cdf8246
fix: clean files
JackSCarroll Sep 20, 2024
8f94a5a
fix: add docker.sock to post_create.sh to remove need for sudo in doc…
JackSCarroll Sep 22, 2024
602316a
fix: remove docker host env variable that causes docker sock command …
JackSCarroll Sep 24, 2024
0e2e9d9
chore: update jplag container
b0ink Jun 25, 2025
e68abbd
fix: typo
b0ink Jun 26, 2025
9441639
chore: remove comment
b0ink Jul 7, 2025
54ac947
Merge pull request #33 from b0ink/new/jplag-deploy6
macite Jul 7, 2025
f190828
feat: build jplag image
macite Jul 15, 2025
1dc72a4
chore: update submodules
macite Jul 15, 2025
2e9fdb1
chore(release): 10.0.0-6
macite Jul 15, 2025
1827784
chore(release): 10.0.0-6
macite Jul 15, 2025
2c276ec
chore: install minimal texlive image
b0ink Jul 27, 2025
60a9f8c
chore: optimise jplag image
b0ink Jul 27, 2025
903f192
chore: optimise devcontainer image
b0ink Jul 27, 2025
a119734
chore: revert tmp folder creation
b0ink Jul 28, 2025
28c485c
chore: remove redundant tlmgr install
b0ink Jul 28, 2025
338560a
chore: update submodules
b0ink Jul 28, 2025
7e07814
Merge pull request #34 from b0ink/feat/minimal-docker-images
b0ink Jul 28, 2025
8414d51
chore(release): 10.0.0-7
b0ink Jul 28, 2025
dff0003
chore: fix key value format
b0ink Jul 28, 2025
b00e2d6
ci: set correct dockerfile context
b0ink Jul 28, 2025
7e6e1ff
chore(release): 10.0.0-8
b0ink Jul 28, 2025
8723852
chore: update submodules
b0ink Jul 28, 2025
4678829
chore(release): 10.0.0-9
b0ink Jul 28, 2025
bd862b1
chore: update development docker images
b0ink Aug 7, 2025
1e7edf1
chore: remove jplag data volume
b0ink Aug 20, 2025
f7c2135
chore: update jplag to v6.2.0
b0ink Aug 20, 2025
489cb25
chore: update submodules
b0ink Aug 20, 2025
51cffbb
chore(release): 10.0.0-10
b0ink Aug 20, 2025
4343537
chore: update dev container images
b0ink Aug 20, 2025
4e2a18b
chore: add missing package
b0ink Aug 29, 2025
d207048
chore: update submodules
b0ink Sep 2, 2025
eee56b2
chore(release): 10.0.0-11
b0ink Sep 2, 2025
bce0c7d
chore: update submodules
b0ink Sep 17, 2025
357d934
chore: add doubtfire-lti submodule
b0ink Sep 17, 2025
3dbeecc
chore: update texlive and jplag dev images
b0ink Sep 17, 2025
f88dc3b
chore: build lti image
b0ink Sep 17, 2025
99ce799
chore(release): 10.0.0-12
b0ink Sep 17, 2025
8b0f98a
chore: update submodules
b0ink Sep 17, 2025
ba38b05
chore(release): 10.0.0-13
b0ink Sep 17, 2025
cf102e6
chore: update submodules
b0ink Sep 17, 2025
7fffde4
chore(release): 10.0.0-14
b0ink Sep 17, 2025
322aaf9
refactor: init overseer service
b0ink Oct 22, 2025
51d150a
chore: add dev env vars
b0ink Nov 6, 2025
5c550d0
chore: update images
b0ink Nov 6, 2025
a8d8d16
feat: add overseer volume
b0ink Nov 6, 2025
6a0f7ff
chore: remove overseer
b0ink Nov 6, 2025
7b1c8cd
chore: remove overseer data volume
b0ink Nov 9, 2025
e9b9a58
Merge pull request #35 from b0ink/refactor/overseer
b0ink Nov 9, 2025
09df6e4
chore: update submodules
b0ink Nov 9, 2025
e44bdf3
chore: remove lti deployment
b0ink Dec 7, 2025
04f8d20
chore: update to jplag v6.3.0
b0ink Feb 11, 2026
890a615
Merge pull request #37 from b0ink/feat/jplag-v6.3.0
b0ink Feb 11, 2026
858ee79
chore: update submodules
b0ink Feb 11, 2026
4f999e7
chore(release): 10.0.0-15
b0ink Feb 11, 2026
dd562af
chore: update devcontainer images
b0ink Feb 18, 2026
72c7bf5
feat: add dashboard list item component
Labibatanjim May 4, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .devcontainer/.irbrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
IRB.conf[:HISTORY_FILE] = '/workspace/tmp/.irb-history'
1,641 changes: 1,641 additions & 0 deletions .devcontainer/.p10k.zsh

Large diffs are not rendered by default.

118 changes: 118 additions & 0 deletions .devcontainer/.zshrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc.
# Initialization code that may require console input (password prompts, [y/n]
# confirmations, etc.) must go above this block; everything else may go below.
if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then
source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh"
fi

# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH

# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"

# Set name of the theme to load --- if set to "random", it will
# load a random theme each time oh-my-zsh is loaded, in which case,
# to know which specific one was loaded, run: echo $RANDOM_THEME
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="powerlevel10k/powerlevel10k"

# Set list of themes to pick from when loading at random
# Setting this variable when ZSH_THEME=random will cause zsh to load
# a theme from this variable instead of looking in ~/.oh-my-zsh/themes/
# If set to an empty array, this variable will have no effect.
# ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" )

# Uncomment the following line to use case-sensitive completion.
# CASE_SENSITIVE="true"

# Uncomment the following line to use hyphen-insensitive completion.
# Case-sensitive completion must be off. _ and - will be interchangeable.
# HYPHEN_INSENSITIVE="true"

# Uncomment the following line to disable bi-weekly auto-update checks.
# DISABLE_AUTO_UPDATE="true"

# Uncomment the following line to automatically update without prompting.
# DISABLE_UPDATE_PROMPT="true"

# Uncomment the following line to change how often to auto-update (in days).
# export UPDATE_ZSH_DAYS=13

# Uncomment the following line if pasting URLs and other text is messed up.
# DISABLE_MAGIC_FUNCTIONS=true

# Uncomment the following line to disable colors in ls.
# DISABLE_LS_COLORS="true"

# Uncomment the following line to disable auto-setting terminal title.
# DISABLE_AUTO_TITLE="true"

# Uncomment the following line to enable command auto-correction.
# ENABLE_CORRECTION="true"

# Uncomment the following line to display red dots whilst waiting for completion.
# COMPLETION_WAITING_DOTS="true"

# Uncomment the following line if you want to disable marking untracked files
# under VCS as dirty. This makes repository status check for large repositories
# much, much faster.
# DISABLE_UNTRACKED_FILES_DIRTY="true"

# Uncomment the following line if you want to change the command execution time
# stamp shown in the history command output.
# You can set one of the optional three formats:
# "mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd"
# or set a custom format using the strftime function format specifications,
# see 'man strftime' for details.
# HIST_STAMPS="mm/dd/yyyy"

# Would you like to use another custom folder than $ZSH/custom?
# ZSH_CUSTOM=/path/to/new-custom-folder

# Which plugins would you like to load?
# Standard plugins can be found in ~/.oh-my-zsh/plugins/*
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(
git
zsh-syntax-highlighting
zsh-autosuggestions
z
)

source $ZSH/oh-my-zsh.sh

# User configuration

# export MANPATH="/usr/local/man:$MANPATH"

# You may need to manually set your language environment
# export LANG=en_US.UTF-8

# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='mvim'
# fi

# Compilation flags
# export ARCHFLAGS="-arch x86_64"

# Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`.
#
# Example aliases
# alias zshconfig="mate ~/.zshrc"
# alias ohmyzsh="mate ~/.oh-my-zsh"

export HISTFILE=/workspace/tmp/.zsh_history

# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh

POWERLEVEL9K_DISABLE_CONFIGURATION_WIZARD=true
55 changes: 55 additions & 0 deletions .devcontainer/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#!/bin/bash
my_dir="$(dirname "$0")"
source "${my_dir}/../development/version.sh"

CURRENT_BRANCH=$(git branch --show-current)

echo "This script will create new development container images for Doubtfire"
echo
echo "When there are changes to the configuration or dependencies of a container, the version should be incremented."
echo "Update this in ${my_dir}/version.sh as well as in the docker-compose.yml file in the development folder."
echo
echo "Run publish.sh when you are ready to push the new images to docker hub."
echo
echo " You are on branch: ${CURRENT_BRANCH}"
echo " dev container version: ${CURRENT_DEV_VERSION}"
echo
echo "This will produce docker images with the following names"
echo " - lmsdoubtfire/formatif-devcontainer:${CURRENT_DEV_VERSION}-dev"
echo

read -p "Enter to continue..."

function build_image {
NAME=$1
VERSION=$2
FOLDER=$3
DOCKERFILE=$4

echo "Setting up build for $NAME"
echo

cd "${FOLDER}"

docker image rm "${NAME}:${VERSION}-dev" 2>/dev/null
docker image rm "lmsdoubtfire/${NAME}:${VERSION}-dev" 2>/dev/null

docker build -f "${DOCKERFILE}" -t "${NAME}:${VERSION}-dev" .
if [ $? -ne 0 ]; then
echo "Ensure that everything builds";
exit 1
fi

docker tag "${NAME}:${VERSION}-dev" "lmsdoubtfire/${NAME}:${VERSION}-dev"
if [ $? -ne 0 ]; then
echo "Tag failed...";
exit 1
fi
}

build_image "formatif-devcontainer" "${CURRENT_DEV_VERSION}" "../" "dev.Dockerfile"

echo
echo "Test using:"
echo "docker compose run --rm formatif-dev-container /bin/zsh"
echo
89 changes: 89 additions & 0 deletions .devcontainer/devcontainer.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
#
# Rails environment
#
RAILS_ENV=development

TZ=Australia/Melbourne

# Student work location (in container)
DF_STUDENT_WORK_DIR=/student-work

DF_JPLAG_REPORT_DIR=/jplag/results


# Overseer - enabled!
OVERSEER_ENABLED=1
OVERSEER_FALLBACK_VOLUME_CONTAINER=doubtfire-overseer

#DOCKER_TOKEN=docker-token-here
#DOCKER_USER=docker-user-here
#DOCKER_PROXY_URL=registry-1.docker.io

# LTI settings
LTI_ENABLED=false
#LTI_SHARED_API_SECRET=

# Institution settings
DF_INSTITUTION_HOST=http://localhost:4200
DF_INSTITUTION_PRODUCT_NAME=OnTrack

# Database and auth related secrets
DF_SECRET_KEY_BASE=test-secret-key-test-secret-key!
DF_SECRET_KEY_ATTR=test-secret-key-test-secret-key!
DF_SECRET_KEY_DEVISE=test-secret-key-test-secret-key!

# Authentication settings
DF_AUTH_METHOD=database

# AAF settings - for testing on local host
DF_AAF_ISSUER_URL=https://rapid.test.aaf.edu.au
DF_AAF_AUDIENCE_URL=http://localhost:3000
DF_AAF_CALLBACK_URL=http://localhost:3000/api/auth/jwt
DF_AAF_IDENTITY_PROVIDER_URL=https://signon-uat.deakin.edu.au/idp/shibboleth
DF_AAF_UNIQUE_URL=https://rapid.test.aaf.edu.au/jwt/authnrequest/research/Ag4EJJhjf0zXHqlKvKZEbg
DF_AAF_AUTH_SIGNOUT_URL=https://sync-uat.deakin.edu.au/auth/logout
DF_SECRET_KEY_AAF=v4~LMFLzzwRGZdju\5QBa@FiHIN9

# Database settings
DF_DEV_DB_ADAPTER=mysql2
DF_DEV_DB_HOST=dev-db
DF_DEV_DB_DATABASE=doubtfire-dev
DF_DEV_DB_USERNAME=dfire
DF_DEV_DB_PASSWORD=pwd

# Database settings - for test env
DF_TEST_DB_ADAPTER=mysql2
DF_TEST_DB_HOST=dev-db
DF_TEST_DB_DATABASE=doubtfire-dev
DF_TEST_DB_USERNAME=dfire
DF_TEST_DB_PASSWORD=pwd

# Database settings - for test env
DF_PRODUCTION_DB_ADAPTER=mysql2
DF_PRODUCTION_DB_HOST=dev-db
DF_PRODUCTION_DB_DATABASE=doubtfire-dev
DF_PRODUCTION_DB_USERNAME=dfire
DF_PRODUCTION_DB_PASSWORD=pwd

# Mail settings
DF_MAIL_DELIVERY_METHOD=test

# MariaDB Details
MYSQL_ROOT_PASSWORD=db-root-password
MYSQL_DATABASE=doubtfire-dev
MYSQL_USER=dfire
MYSQL_PASSWORD=pwd

# Latex Details
LATEX_CONTAINER_NAME=formatif-texlive-container
LATEX_BUILD_PATH=/texlive/shell/latex_build.sh

# Redis for sidekiq
DF_REDIS_SIDEKIQ_URL=redis://doubtfire-redis-sidekiq:6379/0

# 10 MB
DF_MAX_FILE_SIZE=10_000_000


# These will show up in doubtfire-api/tmp/mail
DF_EMAIL_ERRORS_TO=errors@ontrack-test.com
96 changes: 96 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
//devcontainer.json
{
"name": "Formatif Development Container",
// "image": "lmsdoubtfire/formatif-devcontainer:8.4-dev",
// "runArgs": ["--env-file", ".devcontainer/devcontainer.env"],

// "dockerFile": "../dev.Dockerfile",
"dockerComposeFile": "./docker-compose.yml",
"service": "formatif-dev-container",
"shutdownAction": "stopCompose",

// "workspaceFolder": "/workspace",

"workspaceFolder": "/workspace",
// "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",

"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "zsh"
},

"extensions": [
"dbaeumer.vscode-eslint",
"EditorConfig.EditorConfig",
"ms-vsliveshare.vsliveshare",
"ms-vsliveshare.vsliveshare-pack",
"misogi.ruby-rubocop",
"castwide.solargraph",
"vscode-icons-team.vscode-icons",
"cschlosser.doxdocgen",
"eamodio.gitlens",
"Angular.ng-template",
"ms-azuretools.vscode-docker",
"esbenp.prettier-vscode",
"foxundermoon.shell-format",
"cyrilletuzi.angular-schematics",
"bradlc.vscode-tailwindcss",
"Shopify.ruby-lsp"
]
}
},

// "mounts": [
// {
// "source": "formatif-dev-database",
// "target": "/var/lib/mysql",
// "type": "volume"
// },
// {
// "source": "formatif-dev-tmp",
// "target": "/workspace/tmp",
// "type": "volume"
// },
// {
// "source": "formatif-dev-student-work",
// "target": "/student-work",
// "type": "volume"
// },
// {
// "source": "ws_node_modules",
// "target": "/workspace/node_modules",
// "type": "volume"
// },
// {
// "source": "web_node_modules",
// "target": "/workspace/doubtfire-web/node_modules",
// "type": "volume"
// },
// {
// "source": "api_bundle",
// "target": "/home/vscode/.gems",
// "type": "volume"
// }
// ],

"forwardPorts": [3000, 4200, 9876],

"portsAttributes": {
"3000": {
"label": "Application",
"onAutoForward": "notify",
"visibility": "public"
},
"4200": {
"label": "Angular",
"onAutoForward": "notify",
"visibility": "public"
}
},

"postCreateCommand": "/workspace/.devcontainer/post_create.sh",
"postStartCommand": "/workspace/.devcontainer/post_start.sh",

"overrideCommand": true
}
Loading