[Maintenance] Pass HTTPS flag to dev container to enable HTTPS (#2316)

This commit is contained in:
jaarasys-henria
2024-02-02 23:14:45 +02:00
committed by GitHub
parent 6ae2047ab8
commit 55f2d126b3
3 changed files with 14 additions and 0 deletions

View File

@@ -8,6 +8,8 @@ services:
actual-development:
build: .
image: actual-development
environment:
- HTTPS
ports:
- '3001:3001'
volumes:

View File

@@ -37,6 +37,12 @@ First start a dev instance:
```sh
HTTPS=true yarn start
```
or using the dev container:
```
HTTPS=true docker compose up --build
```
Note the network IP address and port the dev instance is listening on.
Next, navigate to the root of your project folder, run the standartised docker container, and launch the visual regression tests from within it.

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [jaarasys-henria]
---
Enable passing HTTPS env variable flag to dev container for easy HTTPS enabling.