This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
portainer [2021/09/12 10:02] – created alexk7110 | portainer [2021/09/12 10:04] (current) – alexk7110 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Portainer Troubleshooting ====== | ====== Portainer Troubleshooting ====== | ||
- | | + | ===== docker-compose.yml ===== |
- | services: | + | <code yaml docker-compose.yml> |
- | portainer: | + | --- |
- | image: portainer/ | + | version: " |
- | container_name: | + | services: |
- | volumes: | + | portainer: |
- | - / | + | image: portainer/ |
- | - ./ | + | container_name: |
- | ports: | + | volumes: |
- | - 8000:8000 | + | - / |
- | - 9000:9000 | + | - ./ |
- | restart: always | + | ports: |
+ | - 8000:8000 | ||
+ | - 9000:9000 | ||
+ | restart: always | ||
+ | </ |