Docker Compose docker-compose when deploying Nexus3, yml Code

Scenes

Compose installed on Docker-Compose Introduction and Ubuntu Server:

https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100902301

Docker Compose basic use - use Compose to start Tomcat as an example:

https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100904080

Docker Compose deployment project into the container - based mall project of Tomcat and mysql (with source code and sql download):

https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/100941366

In the above basic operation realize based on the Compose, Compose structures implemented using Docker Nexus3.

Note:

Blog:
https://blog.csdn.net/badao_liumang_qizhi
public concern number of
programs overbearing ape
acquisition-related programming e-books, tutorials and push for free download.

achieve

version: '3'
services:
  nexus:
    restart: always
    image: sonatype/nexus3
    container_name: nexus3
    ports:
      - 8081:8081
    volumes:
      - /usr/local/docker/nexus/nexus-data:/nexus-data

 

Guess you like

Origin www.cnblogs.com/badaoliumangqizhi/p/11563555.html