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