diff --git a/docker-compose.yml b/docker-compose.yml index 0f2e46f5..a56532a2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,8 @@ version: "2" services: nexus: image: sonatype/nexus3 + restart: unless-stopped + container_name: nexus volumes: - "nexus-data:/nexus-data" ports: