Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using NFS (GlusterFS) with Artifactory #167

Open
marcuschaney opened this issue Aug 1, 2019 · 1 comment
Open

Using NFS (GlusterFS) with Artifactory #167

marcuschaney opened this issue Aug 1, 2019 · 1 comment

Comments

@marcuschaney
Copy link

Good Morning,

I'm having an issues trying to mount GlusterFS to my Artifactory container. Do you all have any examples of how to mount NFS to a container, via Compose?

V/r
Marcus

@marcuschaney
Copy link
Author

marcuschaney commented Aug 1, 2019

Copy of my config is attached.

volumes:
  art-mount:
    driver: local
    driver_opts:
      type: none
      device: /var/opt/jfrog/artifactory/data
      o: bind
services:
  artifactory:
    image: 5f86c7980758
    container_name: artifactory
    ports:
     - 8081:8081
    volumes:
     - /data/artifactory/artifactory_extra_conf:/artifactory_extra_conf:Z
     - /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.212.b04-0.el7_6.x86_64/jre/lib/security/cacerts/cacerts:/artifactory_extra_conf/cacerts:Z
     - art-mount:/opt/jfrog/artifactory/data/filestore
    environment:
     - JAVA_OPTS=-Djavax.net.ssl.trustStore=/var/opt/jfrog/artifactory/etc/cacerts -Djavax.net.ssl.trustStorePassword=changeit -Djavax.net.debug=ssl
     - DB_TYPE=postgresql
     - DB_USER=artifactory
     - DB_PASSWORD=xxxxxxxx
     - DB_HOST=xxxxxxxxxxxx
     - DB_PORT=5432
    restart: always
    ulimits:
      nproc: 65535
      nofile:
        soft: 32000
        hard: 40000
  nginx:
    image: dda86cdb122c
    container_name: nginx
    volumes:
     - /data/nginx:/etc/nginx/conf.d
    ports:
     - 80:80
     - 443:443
    restart: always
    ulimits:
      nproc: 65535
      nofile:
        soft: 32000
        hard: 40000

#################################

Filesystem Size Used Avail Use% Mounted on
gluster-001:/artifactory 28G 326M 26G 2% /var/opt/jfrog/artifactory/data

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant