1
0
mirror of https://github.com/daniviga/bite.git synced 2024-11-25 06:16:13 +01:00

Compare commits

..

No commits in common. "4690421437ceeaf34b8d3c03f8788490bba320e6" and "a9221fb5eca34c25058c8089ba9b648ccb4a0920" have entirely different histories.

2 changed files with 4 additions and 15 deletions

View File

@ -11,12 +11,12 @@ before_install:
_iot-simulator: &iot-simulator _iot-simulator: &iot-simulator
stage: simulator stage: simulator
install: install:
- docker-compose -f docker/docker-compose.yml pull -q - docker-compose -f docker/docker-compose.yml pull
- docker-compose -f docker/docker-compose.yml build - docker-compose -f docker/docker-compose.yml build
before_script: before_script:
- docker-compose -f docker/docker-compose.yml -f docker/edge/docker-compose.edge.yml up -d - docker-compose -f docker/docker-compose.yml -f docker/edge/docker-compose.edge.yml up -d
- sleep 30 # warm-up - sleep 30 # warm-up
- DOCKER_HOST='127.0.0.1:22375' docker-compose -f docker/edge/docker-compose.modules.yml pull -q - DOCKER_HOST='127.0.0.1:22375' docker-compose -f docker/edge/docker-compose.modules.yml pull
- DOCKER_HOST='127.0.0.1:22375' docker-compose -f docker/edge/docker-compose.modules.yml build - DOCKER_HOST='127.0.0.1:22375' docker-compose -f docker/edge/docker-compose.modules.yml build
script: script:
- sleep 5 # warm-up - sleep 5 # warm-up
@ -37,7 +37,7 @@ jobs:
if: branch = master if: branch = master
- stage: django - stage: django
install: install:
- docker-compose -f docker/docker-compose.yml pull -q - docker-compose -f docker/docker-compose.yml pull
- docker-compose -f docker/docker-compose.yml build - docker-compose -f docker/docker-compose.yml build
before_script: before_script:
- docker-compose -f docker/docker-compose.yml up -d - docker-compose -f docker/docker-compose.yml up -d

View File

@ -24,24 +24,13 @@ production.
### Requirements ### Requirements
- `moby-engine` or `podman-docker` (recommended) - `docker-ce` or `moby`
- `docker-compose` - `docker-compose`
The project is compatible with Docker for Windows (using Linux executors), The project is compatible with Docker for Windows (using Linux executors),
but it is advised to directly use a minimal Linux VM instead but it is advised to directly use a minimal Linux VM instead
(via the preferred hypervisor). (via the preferred hypervisor).
### Podman
`podman`, with `podman-docker` is the recommended way to run BITE, in rootless mode.
```bash
systemctl start --user podman.socket
export DOCKER_HOST=unix://run/user/$UID/podman/podman.sock
```
### Application stack
The application stack is composed by the following components: The application stack is composed by the following components:
- [Django](https://www.djangoproject.com/) with - [Django](https://www.djangoproject.com/) with