Docker setup for portainer-ce
Docker setup for portainer-ce
·
Report Bug
·
Request Feature
Small docker setup for portainer-ce. The production environment also uses jwilder/nginx-proxy and nginx-proxy/docker-letsencrypt-nginx-proxy-companion.
To get a local copy up and running follow these simple steps.
git clone https://github.com/beuluis/portainer-ce.git
docker-compose up --build
localhost:9000
.env
file
touch .env
{variable name}={variable value}
)Variable | Description | Default value | Required |
---|---|---|---|
PORT |
Which port is mapped to your host machine | 9000 |
false |
To get a copy up and running follow these simple steps.
git clone https://github.com/beuluis/portainer-ce.git --branch master
.env.prod
file
touch .env.prod
docker-compose --env-file ./.env.prod -f docker-compose.yml -f docker-compose.production.yml up -d
https://{your-host}
.env.prod
file
touch .env.prod
{variable name}={variable value}
)Variable | Description | Default value | Required |
---|---|---|---|
PROXY_NETWORK_NAME |
Proxy network name | nginxproxynet |
false |
HOST |
Host which your container should be accessible. E.g. test.com |
none | true |
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Luis Beu - me@luisbeu.de