Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Alfresco Meetup
Roma 2018
David Ciamberlano
Alfresco expert
Technical
Writer
Alfresco
Community
Enthusiast
mi occupo di disegnare e
realizzare soluz...
Alfresco Content Service
deploy con Docker
David Ciamberlano
Alfresco ha deciso di sostituire il
“vecchio” pacchetto binario con una
soluzione basata su docker/kubernetes
Perché?
L’in...
Docker :
• sfrutta le funzionalità di isolamento delle
risorse del kernel di Linux per creare dei
container indipendenti c...
Container:
• sfruttano un sottoinsieme di risorse e il
kernel del server host
• di default sono isolati dal resto del mond...
Immagini:
• sono assimilabili a snapshot (o template)
di container
• sono mantenute in un repository centrale:
https://hub...
Immagini di Alfresco
Le immagini ufficiali di Alfresco sono su:
https://hub.docker.com/u/alfresco
Alfresco
Github repository
Repository github di Alfresco:
https://github.com/Alfresco/acs-deployment
Il primo passo è clon...
Docker-compose
Individuiamo la cartella relativa a docker-compose:
$ cd acs-deployment/docker-compose
Tutto è contenuto ne...
Docker-compose
Dopo qualche minuto si può accedere ai singoli servizi:
http://localhost:8082/alfresco
http://localhost:808...
Persistenza dei dati
Per la persistenza dei dati è necessario l’uso di
Volumi.
volumes:
alfresco-data:
postgres-data:
solr...
Thank You!
Upcoming SlideShare
Loading in …5
×

Alfresco meetup Roma - docker

76 views

Published on

Talk su Alfresco ACS docker deploy tenuto per l'Alfresco meetup di Roma del 2018.

  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (Unlimited) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download Full EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ACCESS WEBSITE for All Ebooks ......................................................................................................................... Download Full PDF EBOOK here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download EPUB Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... Download doc Ebook here { https://tinyurl.com/y6a5rkg5 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Alfresco meetup Roma - docker

  1. 1. Alfresco Meetup Roma 2018
  2. 2. David Ciamberlano Alfresco expert Technical Writer Alfresco Community Enthusiast mi occupo di disegnare e realizzare soluzioni su Alfresco e più in generale di sviluppo back- end usando java e varie altre tecnologie. Ho scritto più di 40 articoli tecnici su riviste nazionali (IoProgrammo, LinuxPro, Il nuovo Diritto,…) • Sono tra i maggiori contributori sul forum italiano dal 2012 • Ho tenuto due lighting talk all’Alfresco Devcon 2018 • Ho ricevuto il premio VIP per i miei contributi alla community
  3. 3. Alfresco Content Service deploy con Docker David Ciamberlano
  4. 4. Alfresco ha deciso di sostituire il “vecchio” pacchetto binario con una soluzione basata su docker/kubernetes Perché? L’installazione di Alfresco sta diventando sempre più complessa. C’è bisogno di soluzioni che la rendano più prevedibile, scalabile e semplice da gestire. Perché cambiare?
  5. 5. Docker : • sfrutta le funzionalità di isolamento delle risorse del kernel di Linux per creare dei container indipendenti che possono coesistere nella stessa istanza di Linux. • Container ≠ Macchina Virtuale Docker (visto da 10.000m di altezza)
  6. 6. Container: • sfruttano un sottoinsieme di risorse e il kernel del server host • di default sono isolati dal resto del mondo • in un server possono coesistere numerosi container ciascuno dedicato ad un certo servizio • sono instanze di immagini Docker Containers (visti da 10.000m di altezza)
  7. 7. Immagini: • sono assimilabili a snapshot (o template) di container • sono mantenute in un repository centrale: https://hub.docker.com Docker Images (viste da 10.000m di altezza)
  8. 8. Immagini di Alfresco Le immagini ufficiali di Alfresco sono su: https://hub.docker.com/u/alfresco
  9. 9. Alfresco Github repository Repository github di Alfresco: https://github.com/Alfresco/acs-deployment Il primo passo è clonare in locale il repository: $ git clone https://github.com/Alfresco/acs-deployment
  10. 10. Docker-compose Individuiamo la cartella relativa a docker-compose: $ cd acs-deployment/docker-compose Tutto è contenuto nel file: docker-compose.yml Per lanciare l'istanza di Alfresco usiamo il comando: $ docker-compose up
  11. 11. Docker-compose Dopo qualche minuto si può accedere ai singoli servizi: http://localhost:8082/alfresco http://localhost:8080/share http://localhost:8083/solr Altri comandi utili: $ docker ps [-a] $ docker-compose up $ docker-compose down $ docker-compose start $ docker-compose stop $ docker-compose logs
  12. 12. Persistenza dei dati Per la persistenza dei dati è necessario l’uso di Volumi. volumes: alfresco-data: postgres-data: solr-data: services: alfresco: image: alfresco/alfresco-content-repository:6.0.0 […] ports: - 8082:8080 #Browser port volumes: - ./alfresco-data:/usr/local/tomcat/alf_data [...]
  13. 13. Thank You!

×