Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document using compose for both ce and premium #268

Open
sbe-arg opened this issue Jul 25, 2023 · 2 comments
Open

Document using compose for both ce and premium #268

sbe-arg opened this issue Jul 25, 2023 · 2 comments

Comments

@sbe-arg
Copy link

sbe-arg commented Jul 25, 2023

Something on the lines of:

version: '3.9'

name: 'services'

services:

  watchtower:
    container_name: watchtower
    hostname: watchtower
    image: docker.io/containrrr/watchtower
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
    restart: unless-stopped

  portainer:
    container_name: portainer
    hostname: portainer
    image: docker.io/portainer/portainer-ce:latest
    command: --tlsskipverify --admin-password "$$2y$$05$$YhkVSP6tIoP2xVByx.8SdOjd9MJrcR/U9w6rv51GuSpUHkJvEsW9i"
    # docker run --rm httpd:alpine htpasswd -nbB admin supersecurepassword | cut -d ":" -f 2 # comment each $ with another $
    ports:
      - 127.0.0.1:9443:9443
      - 127.0.0.1:8000:8000
    volumes:
      - portainer_data:/data
      - /var/run/docker.sock:/var/run/docker.sock
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    restart: unless-stopped

volumes:
  portainer_data: {}
@jamescarppe
Copy link
Member

Assuming this is for Docker Standalone - for Swarm we already provide compose files.

In most cases for Standalone, users seem to prefer a docker run command. However, we have been discussing internally whether we provide compose files for standalone as well - no decision as of yet but I'll keep this issue in mind around it.

@ffaa3dd
Copy link

ffaa3dd commented Aug 23, 2024

Yessss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants