Cozy

De Admin -- TALEVAS.
(Différences entre les versions)
(Page créée avec « = Cozy = == cozy-couchdb == === Dockerfile === FROM ubuntu:xenial RUN apt update; apt -y install net-tools htop curl vim apt-transport-https; # apt clean cache COPY c... »)
 
(Dockerfile)
Ligne 6 : Ligne 6 :
 
   
 
   
 
  RUN apt update; apt -y install net-tools htop curl vim apt-transport-https; # apt clean cache  
 
  RUN apt update; apt -y install net-tools htop curl vim apt-transport-https; # apt clean cache  
 
+
 
  COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
 
  COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
 
   
 
   
Ligne 13 : Ligne 13 :
 
  RUN curl https://apt.cozy.io/nightly/cozy.gpg | \
 
  RUN curl https://apt.cozy.io/nightly/cozy.gpg | \
 
     apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -  
 
     apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -  
 
+
 
  RUN echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
 
  RUN echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
 
  RUN apt update
 
  RUN apt update
Ligne 21 : Ligne 21 :
 
  RUN apt update; apt -y install cozy-couchdb; # apt clean cache
 
  RUN apt update; apt -y install cozy-couchdb; # apt clean cache
 
  # edit /opt/couchdb/etc/vm.args and /opt/couchdb/etc/local.d/*.ini yourself.
 
  # edit /opt/couchdb/etc/vm.args and /opt/couchdb/etc/local.d/*.ini yourself.
 
  
 
=== 10-admins.ini ===
 
=== 10-admins.ini ===

Version du 9 avril 2018 à 14:25

Sommaire

Cozy

cozy-couchdb

Dockerfile

FROM ubuntu:xenial

RUN apt update; apt -y install net-tools htop curl vim apt-transport-https; # apt clean cache 

COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt

RUN curl https://apt.cozy.io/cozy.gpg | \
   apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -
RUN curl https://apt.cozy.io/nightly/cozy.gpg | \
   apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add - 

RUN echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
RUN apt update

COPY 10-admins.ini /opt/couchdb/etc/local.d/10-admins.ini
COPY 10-bind-address.ini /opt/couchdb/etc/default.d/10-bind-address.ini
RUN apt update; apt -y install cozy-couchdb; # apt clean cache
# edit /opt/couchdb/etc/vm.args and /opt/couchdb/etc/local.d/*.ini yourself.

10-admins.ini

# Package-introduced administrative user
[admins]
admin = adminpwd

10-bind-address.ini

# Package-introduced bind address
[chttpd]
bind_address = 0.0.0.0