Updated Portainer config
parent
0b85900b71
commit
608b4fbe90
|
@ -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:
|
||||
|
|
Reference in New Issue