Cozy

De Admin -- TALEVAS.
(Différences entre les versions)
(Dockerfile)
(cozy-couchdb)
 
(Une révision intermédiaire par un utilisateur est masquée)
Ligne 3 : Ligne 3 :
 
== cozy-couchdb ==
 
== cozy-couchdb ==
 
=== Dockerfile ===
 
=== Dockerfile ===
FROM ubuntu:xenial
+
https://github.com/apache/couchdb-docker/tree/1a7c4254c158a194ff195da6ebfed910d24a95b7/2.1.1
 +
 
 +
FROM ubuntu:xenial
 +
 
 +
 
 +
RUN apt update; apt install -y less tree vim net-tools curl htop apt-transport-https; #apt autoremove; apt autoclean
 +
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 -
 +
 
 +
 
 +
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 echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
 +
RUN apt update; apt install -y cozy-couchdb; #apt autoremove; apt autoclean
 
   
 
   
RUN apt update; apt install -y less tree vim net-tools curl htop apt-transport-https; #apt autoremove; apt autoclean
+
  #VOLUME /opt/couchdb/etc/local.d/  
RUN curl https://apt.cozy.io/cozy.gpg | \
+
 
    apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -
+
# Add configuration
RUN curl https://apt.cozy.io/nightly/cozy.gpg | \
+
COPY local.ini /opt/couchdb/etc/local.d/
    apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -
+
COPY vm.args /opt/couchdb/etc/
   
+
 
+
COPY ./docker-entrypoint.sh /
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
+
WORKDIR /opt/couchdb
+
EXPOSE 5984 4369 9100
RUN echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
+
VOLUME ["/opt/couchdb/data"]
RUN apt update; apt install -y cozy-couchdb; #apt autoremove; apt autoclean
+
 
+
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
#VOLUME /opt/couchdb/etc/local.d/  
+
CMD ["/opt/couchdb/bin/couchdb"]
+
# Add configuration
+
COPY local.ini /opt/couchdb/etc/local.d/
+
COPY vm.args /opt/couchdb/etc/
+
+
COPY ./docker-entrypoint.sh /
+
+
WORKDIR /opt/couchdb
+
EXPOSE 5984 4369 9100
+
VOLUME ["/opt/couchdb/data"]
+
+
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
+
CMD ["/opt/couchdb/bin/couchdb"]
+
  
 
=== 10-admins.ini ===
 
=== 10-admins.ini ===

Version actuelle en date du 10 avril 2018 à 05:01

Sommaire

Cozy

cozy-couchdb

Dockerfile

https://github.com/apache/couchdb-docker/tree/1a7c4254c158a194ff195da6ebfed910d24a95b7/2.1.1

FROM ubuntu:xenial
 
 
RUN apt update; apt install -y less tree vim net-tools curl htop apt-transport-https; #apt autoremove; apt autoclean
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 -
 
 
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 echo "deb https://apt.cozy.io/ubuntu/ xenial stable" > /etc/apt/sources.list.d/cozy.list
RUN apt update; apt install -y cozy-couchdb; #apt autoremove; apt autoclean

#VOLUME /opt/couchdb/etc/local.d/ 
 
# Add configuration
COPY local.ini /opt/couchdb/etc/local.d/
COPY vm.args /opt/couchdb/etc/
 
COPY ./docker-entrypoint.sh /
 
WORKDIR /opt/couchdb
EXPOSE 5984 4369 9100
VOLUME ["/opt/couchdb/data"]
 
ENTRYPOINT ["tini", "--", "/docker-entrypoint.sh"]
CMD ["/opt/couchdb/bin/couchdb"]

10-admins.ini

10-admins.ini

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

10-bind-address.ini

10-bind-address.ini

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