Compare commits
2 Commits
58efe131cd
...
init
| Author | SHA1 | Date | |
|---|---|---|---|
| 5a66addcd0 | |||
| d1b2bbd7e5 |
@@ -2,15 +2,18 @@ services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:latest
|
||||
container_name: portainer
|
||||
command: -H tcp://tasks.portainer_agent:9001 --tlsskipverify
|
||||
#command: -H tcp://tasks.portainer_agent:9001 --tlsskipverify
|
||||
# command: --admin-password '${PORTAINER_ADMIN_PASSWORD_HASH}'
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- portainer_data:/data
|
||||
networks:
|
||||
- proxy_net
|
||||
agent:
|
||||
image: portainer/agent:latest
|
||||
container_name: portainer_agent
|
||||
environment:
|
||||
AGENT_CLUSTER_ADDR: tasks.portainer_agent
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${WG_IP}:9001:9001"
|
||||
@@ -20,3 +23,5 @@ services:
|
||||
networks:
|
||||
proxy_net:
|
||||
external: true
|
||||
volumes:
|
||||
portainer_data:
|
||||
|
||||
Reference in New Issue
Block a user