Blame view

conf/docker-compose.yml 997 Bytes
192acbdc   le sidaner   passage bulleyes ...
1
version: "3.5"
de175623   Philippe Hamy   ajoute la conf do...
2
3
4
services:

  dachs:
d2ebcd28   Chloé Azria   add a parameter f...
5
6
    container_name: ${CONTAINER_NAME}
    image: ${CONTAINER_NAME}
52d78903   Chloé Azria   copy conf files i...
7

de175623   Philippe Hamy   ajoute la conf do...
8
9
    tty: true
    expose:
a68aedba   Chloé Azria   idk why redirects...
10
11
      - "${DACHS_PORT}"
      - "${APACHE_PORT}"
de175623   Philippe Hamy   ajoute la conf do...
12
13
14
      - "22"
    ports:
      - "2222:22"
a68aedba   Chloé Azria   idk why redirects...
15
16
      - "${DACHS_PORT}:${DACHS_PORT}"
      - "${APACHE_PORT}:${APACHE_PORT}"
de175623   Philippe Hamy   ajoute la conf do...
17
18
19
    build:
      context: .
      dockerfile: dachs-dockerfile
a68aedba   Chloé Azria   idk why redirects...
20
      args:   
de175623   Philippe Hamy   ajoute la conf do...
21
        - "VERSION=${VERSION}"
7056e291   Chloé Azria   dachs logs volume...
22
        - "GITREPO_SERVER=${GITREPO_SERVER}"        
7eb59551   Chloé Azria   change parameters...
23
        - "GITREPO_INSTITUTION=${GITREPO_INSTITUTION}"
a68aedba   Chloé Azria   idk why redirects...
24
25
26
        - "DACHS_PORT=${DACHS_PORT}"
        - "APACHE_PORT=${APACHE_PORT}"
        - "SERVERNAME=${SERVERNAME}"
7056e291   Chloé Azria   dachs logs volume...
27
28
29
        - "DOMAIN=${DOMAIN}"
        - "PROTOCOL=${PROTOCOL}"
    volumes:
7056e291   Chloé Azria   dachs logs volume...
30
31
      - ../apache/logapache:/var/log/apache2
      - ../apache/dachslogs:/var/gavo/logs
7056e291   Chloé Azria   dachs logs volume...
32
      # example if you need to mount volumes (e.g if your service needs to parse files or if you want to upload it through dachs)
d2ebcd28   Chloé Azria   add a parameter f...
33
34
      #- path/to/data:/var/gavo/inputs/<<service>>/data
    restart: always