Updated Portainer config

pull/10/head
Jef Roosens 2021-04-23 15:05:14 +02:00
parent 0b85900b71
commit 608b4fbe90
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
1 changed files with 10 additions and 6 deletions

View File

@ -1,12 +1,17 @@
version: '3.5'
version: '2.4'
services:
app:
image: 'portainer/portainer-ce:latest'
image: 'portainer/portainer-ce:2.1.1-alpine'
restart: 'always'
labels:
- 'com.centurylinklabs.watchtower.enable=true'
healthcheck:
test: 'curl -f localhost:9000 || exit 1'
interval: '1m'
timeout: '10s'
retries: 3
start_period: '10s'
networks:
- 'nginx'
ports:
@ -17,8 +22,7 @@ services:
networks:
nginx:
external:
name: 'nginx'
external: true
volumes:
data: