commit 39294d21aec5b453c4a4a58a1e8f0b16ab907871 Author: Gabriel Carneiro Date: Thu Feb 27 10:34:03 2025 -0300 initial commit diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..457d4b6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,23 @@ +services: + portainer: + image: portainer/portainer-ce:latest + container_name: portainer + restart: unless-stopped + volumes: + - portainer_data:/data + - /var/run/docker.sock:/var/run/docker.sock + networks: + - traefik-public + labels: + traefik.enable: true + traefik.http.routers.portainer.rule: Host(`docker.alice.ufsj.edu.br`) + traefik.http.routers.portainer.entrypoints: websecure + traefik.http.services.portainer.loadBalancer.server.port: 9000 + traefik.http.routers.portainer.middlewares: 'authelia@docker' + +volumes: + portainer_data: + +networks: + traefik-public: + external: true