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

Compare commits

..

2 Commits

Author SHA1 Message Date
4690421437
Make pull quiet in travis 2021-10-09 23:21:30 +02:00
19e3ae1d9c
Add podman to README 2021-10-09 23:18:44 +02:00
2 changed files with 15 additions and 4 deletions

View File

@ -11,12 +11,12 @@ before_install:
_iot-simulator: &iot-simulator
stage: simulator
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
before_script:
- docker-compose -f docker/docker-compose.yml -f docker/edge/docker-compose.edge.yml up -d
- 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
script:
- sleep 5 # warm-up
@ -37,7 +37,7 @@ jobs:
if: branch = master
- stage: django
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
before_script:
- docker-compose -f docker/docker-compose.yml up -d

View File

@ -24,13 +24,24 @@ production.
### Requirements
- `docker-ce` or `moby`
- `moby-engine` or `podman-docker` (recommended)
- `docker-compose`
The project is compatible with Docker for Windows (using Linux executors),
but it is advised to directly use a minimal Linux VM instead
(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:
- [Django](https://www.djangoproject.com/) with