Skip to content

Enable production ready docker compose file #23

Enable production ready docker compose file

Enable production ready docker compose file #23

Workflow file for this run

name: Dev build and start
on:
pull_request:
branches: [ "main" ]
jobs:
build-containers:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Build containers
run: docker compose build
- name: Get latest api version
run: cd api && git checkout origin/main
- name: Get latest helioviewer.org version
run: cd helioviewer.org && git checkout origin/main
- name: Make writeable configuration files
run: |
touch api/install/settings/settings.cfg
chmod o+rw api/install/settings/settings.cfg
touch api/settings/Config.ini
chmod o+rw api/settings/Config.ini
touch api/settings/Config.php
chmod o+rw api/settings/Config.php
- name: Check that containers start and become healthy
run: docker compose up -d --wait