Created
June 17, 2022 18:17
-
-
Save EdouardCourty/e7b1a86d79eda31bb865051caebcd744 to your computer and use it in GitHub Desktop.
Portainer setup though docker-compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.8' | |
services: | |
portainer: | |
image: portainer/portainer-ce:2.13.1 | |
container_name: portainer | |
restart: unless-stopped | |
security_opt: | |
- no-new-privileges:true | |
volumes: | |
- /etc/localtime:/etc/localtime:ro | |
- /var/run/docker.sock:/var/run/docker.sock:ro | |
- ./portainer-data:/data | |
ports: | |
- target: 9000 | |
published: 9009 | |
protocol: tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment