no restart policy on docker-compose.test.yml

This commit is contained in:
vos 2020-03-15 09:24:02 +01:00
parent 97d7df54fc
commit 1b7dd187e0

View file

@ -2,7 +2,6 @@ version: '3.4'
services:
netbox:
image: ${IMAGE-netboxcommunity/netbox:latest}
restart: unless-stopped
depends_on:
- postgres
- redis
@ -19,7 +18,6 @@ services:
- netbox-media-files:/opt/netbox/netbox/media:z
nginx:
command: nginx -c /etc/netbox-nginx/nginx.conf
restart: unless-stopped
image: nginx:1.17-alpine
depends_on:
- netbox
@ -30,11 +28,9 @@ services:
- netbox-nginx-config:/etc/netbox-nginx/:ro
postgres:
image: postgres:11-alpine
restart: unless-stopped
env_file: env/postgres.env
redis:
image: redis:5-alpine
restart: unless-stopped
command:
- sh
- -c # this is to evaluate the $REDIS_PASSWORD from the env