mirror of
https://github.com/daniviga/bite.git
synced 2024-11-25 06:16:13 +01:00
Compare commits
2 Commits
a9221fb5ec
...
4690421437
Author | SHA1 | Date | |
---|---|---|---|
4690421437 | |||
19e3ae1d9c |
|
@ -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
|
- docker-compose -f docker/docker-compose.yml pull -q
|
||||||
- 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
|
- 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 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
|
- docker-compose -f docker/docker-compose.yml pull -q
|
||||||
- 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
|
||||||
|
|
13
README.md
13
README.md
|
@ -24,13 +24,24 @@ production.
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
||||||
- `docker-ce` or `moby`
|
- `moby-engine` or `podman-docker` (recommended)
|
||||||
- `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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user