modify(portainer-ce): add env-file
This commit is contained in:
parent
e32349a119
commit
433769f282
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
0
alist/compose.yml
Normal file → Executable file
0
alist/compose.yml
Normal file → Executable file
0
alist/env.yml
Normal file → Executable file
0
alist/env.yml
Normal file → Executable file
0
alist/readme.md
Normal file → Executable file
0
alist/readme.md
Normal file → Executable file
0
base/mongo.stack.yaml
Normal file → Executable file
0
base/mongo.stack.yaml
Normal file → Executable file
0
dbSer/config.conf
Normal file → Executable file
0
dbSer/config.conf
Normal file → Executable file
0
dbSer/dbs-dev.stack.yaml
Normal file → Executable file
0
dbSer/dbs-dev.stack.yaml
Normal file → Executable file
0
dbSer/dbs.networks.set.yml
Normal file → Executable file
0
dbSer/dbs.networks.set.yml
Normal file → Executable file
0
dbSer/dbs.stack.yaml
Normal file → Executable file
0
dbSer/dbs.stack.yaml
Normal file → Executable file
0
dbSer/etcd.yml
Normal file → Executable file
0
dbSer/etcd.yml
Normal file → Executable file
0
dbSer/mongo.yml
Normal file → Executable file
0
dbSer/mongo.yml
Normal file → Executable file
0
dbSer/mysql/env.cfg
Normal file → Executable file
0
dbSer/mysql/env.cfg
Normal file → Executable file
0
dbSer/mysql/prod.stack.yml
Normal file → Executable file
0
dbSer/mysql/prod.stack.yml
Normal file → Executable file
0
dbSer/percona.yml
Normal file → Executable file
0
dbSer/percona.yml
Normal file → Executable file
0
dbSer/postgres.yml
Normal file → Executable file
0
dbSer/postgres.yml
Normal file → Executable file
0
dbSer/postgres/env.cfg
Normal file → Executable file
0
dbSer/postgres/env.cfg
Normal file → Executable file
0
dbSer/postgres/prod.stack.yml
Normal file → Executable file
0
dbSer/postgres/prod.stack.yml
Normal file → Executable file
0
dbSer/postgres/test.stack.yml
Normal file → Executable file
0
dbSer/postgres/test.stack.yml
Normal file → Executable file
0
dbSer/redis.yml
Normal file → Executable file
0
dbSer/redis.yml
Normal file → Executable file
0
gitea/env.cfg
Normal file → Executable file
0
gitea/env.cfg
Normal file → Executable file
0
gitea/prod.stack.yml
Normal file → Executable file
0
gitea/prod.stack.yml
Normal file → Executable file
0
i2c.py/readme.md
Normal file → Executable file
0
i2c.py/readme.md
Normal file → Executable file
0
i2c.py/status.py
Normal file → Executable file
0
i2c.py/status.py
Normal file → Executable file
0
it-tools/compose.yml
Normal file → Executable file
0
it-tools/compose.yml
Normal file → Executable file
0
joplin/compose.yml
Normal file → Executable file
0
joplin/compose.yml
Normal file → Executable file
0
joplin/env.cfg
Normal file → Executable file
0
joplin/env.cfg
Normal file → Executable file
0
memos/env.cfg
Normal file → Executable file
0
memos/env.cfg
Normal file → Executable file
0
memos/local.stack.yml
Normal file → Executable file
0
memos/local.stack.yml
Normal file → Executable file
0
memos/pgloader.load
Normal file → Executable file
0
memos/pgloader.load
Normal file → Executable file
0
memos/prod.stack.yml
Normal file → Executable file
0
memos/prod.stack.yml
Normal file → Executable file
0
mind-map/compose.yml
Normal file → Executable file
0
mind-map/compose.yml
Normal file → Executable file
0
nextcloud/compose.yml
Normal file → Executable file
0
nextcloud/compose.yml
Normal file → Executable file
0
nextcloud/owncloud.ocis.yml
Normal file → Executable file
0
nextcloud/owncloud.ocis.yml
Normal file → Executable file
0
nextcloud/readme.md
Normal file → Executable file
0
nextcloud/readme.md
Normal file → Executable file
2
portainer-ce/env.yml
Normal file
2
portainer-ce/env.yml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
IMAGE_TAG=portainer/portainer-ce:2.19.4
|
||||||
|
AGENT_TAG=portainer/agent:2.19.4
|
4
portainer-ce/portainer-agent-stack.yml
Normal file → Executable file
4
portainer-ce/portainer-agent-stack.yml
Normal file → Executable file
@ -2,7 +2,7 @@ version: '3.2'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
agent:
|
agent:
|
||||||
image: portainer/agent:2.19.4
|
image: ${AGENT_TAG}
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- /data/docker/volumes:/var/lib/docker/volumes
|
- /data/docker/volumes:/var/lib/docker/volumes
|
||||||
@ -14,7 +14,7 @@ services:
|
|||||||
constraints: [node.platform.os == linux]
|
constraints: [node.platform.os == linux]
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:2.19.4
|
image: ${IMAGE_TAG}
|
||||||
command: -H tcp://tasks.agent:9001 --tlsskipverify
|
command: -H tcp://tasks.agent:9001 --tlsskipverify
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
|
5
portainer-ce/portainer-ce.yaml
Normal file → Executable file
5
portainer-ce/portainer-ce.yaml
Normal file → Executable file
@ -1,13 +1,14 @@
|
|||||||
# docker compose -p portainer-ce -f ./portainer-ce/portainer-ce.yaml up -d
|
# docker compose -p portainer-ce --env-file ./portainer-ce/env.yml -f ./portainer-ce/portainer-ce.yaml up -d
|
||||||
version: '3.8'
|
version: '3.8'
|
||||||
services:
|
services:
|
||||||
|
|
||||||
portainer:
|
portainer:
|
||||||
image: portainer/portainer-ce:2.19.4
|
image: ${IMAGETAG}
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- "9000:9000"
|
- "9000:9000"
|
||||||
- "9443:9443"
|
- "9443:9443"
|
||||||
|
- "8000:8000"
|
||||||
volumes:
|
volumes:
|
||||||
- /var/run/docker.sock:/var/run/docker.sock
|
- /var/run/docker.sock:/var/run/docker.sock
|
||||||
- data:/data
|
- data:/data
|
||||||
|
0
seal-ms/.gitignore
vendored
Normal file → Executable file
0
seal-ms/.gitignore
vendored
Normal file → Executable file
0
seal-ms/configs/caddy/sealms-ui.conf
Normal file → Executable file
0
seal-ms/configs/caddy/sealms-ui.conf
Normal file → Executable file
0
seal-ms/configs/mysql8/my.cnf
Normal file → Executable file
0
seal-ms/configs/mysql8/my.cnf
Normal file → Executable file
0
seal-ms/readme.md
Normal file → Executable file
0
seal-ms/readme.md
Normal file → Executable file
0
seal-ms/stack/build/stack.yaml
Normal file → Executable file
0
seal-ms/stack/build/stack.yaml
Normal file → Executable file
0
seal-ms/stack/dbs/stack.yaml
Normal file → Executable file
0
seal-ms/stack/dbs/stack.yaml
Normal file → Executable file
0
seal-ms/stack/readme.md
Normal file → Executable file
0
seal-ms/stack/readme.md
Normal file → Executable file
0
seal-ms/stack/sealms/stack.yaml
Normal file → Executable file
0
seal-ms/stack/sealms/stack.yaml
Normal file → Executable file
Loading…
x
Reference in New Issue
Block a user