You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
799 B
YAML
26 lines
799 B
YAML
# docker-compose.yml
|
|
# Docker Hub: https://hub.docker.com/r/portainer/portainer-ce
|
|
# The WebUI can be found at http://<HOST_IP>:<WEBUI_PORT>
|
|
# I would suggest unchecking the data checkbox during setup
|
|
# Then navigating to the Users tab, selecting the admin user, and renaming
|
|
# Then navigating to the Settins tab, check Force HTTPS only, then Apply Changes
|
|
|
|
networks:
|
|
<NETWORK_NAME>:
|
|
external: true
|
|
|
|
services:
|
|
portainer-ce:
|
|
container_name: portainer-ce
|
|
image: portainer/portainer-ce:<VERSION_TAG>
|
|
networks:
|
|
- <NETWORK_NAME>
|
|
ports:
|
|
- "9443:9443" # WebUI Port
|
|
restart: unless-stopped
|
|
security_opt:
|
|
- no-new-privileges:true
|
|
volumes:
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
- ./data:/data |