added portainer docker compose
parent
a582d1d902
commit
9d30002d66
@ -0,0 +1,20 @@
|
|||||||
|
name: E2E
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
lint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout the codebase
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
|
with:
|
||||||
|
python-version: 3.8.9
|
||||||
|
- name: Install dependencies
|
||||||
|
run: pip install -r requirements.txt
|
||||||
|
- name: Docker Compose
|
||||||
|
run: |
|
||||||
|
cp tests/docker-compose.yml .
|
||||||
|
docker-compose up -d
|
||||||
@ -0,0 +1,13 @@
|
|||||||
|
---
|
||||||
|
version: '3.2'
|
||||||
|
services:
|
||||||
|
portainer:
|
||||||
|
image: portainer/portainer-ce
|
||||||
|
container_name: portainer
|
||||||
|
ports:
|
||||||
|
- 9000:9000
|
||||||
|
volumes:
|
||||||
|
- portainer_data:/data
|
||||||
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
|
volumes:
|
||||||
|
portainer_data:
|
||||||
Loading…
Reference in New Issue