mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-23 17:40:35 +08:00
add portainer
This commit is contained in:
parent
c0d8f3e3dd
commit
9d41acc7fa
4
docker/w9portainer/.env
Normal file
4
docker/w9portainer/.env
Normal file
@ -0,0 +1,4 @@
|
||||
APP_NAME=websoft9-portainer
|
||||
APP_VERSION=latest
|
||||
APP_HTTP_PORT=9091
|
||||
APP_NETWORK=websoft9
|
21
docker/w9portainer/docker-compose.yml
Normal file
21
docker/w9portainer/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
portainer:
|
||||
image: portainer/portainer-ce:${APP_VERSION}
|
||||
container_name: ${APP_NAME}
|
||||
restart: unless-stopped
|
||||
env_file: .env
|
||||
ports:
|
||||
- ${APP_HTTP_PORT}:9000
|
||||
volumes:
|
||||
- portainer:/data
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ${APP_NETWORK}
|
||||
external: true
|
||||
|
||||
volumes:
|
||||
portainer:
|
Loading…
Reference in New Issue
Block a user