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