docker-compose.yml 847 Bytes
version: "3.5"
services:

  dachs:
    container_name: dachs-voparis
    image: dachs-voparis

    tty: true
    expose:
      - "${DACHS_PORT}"
      - "${APACHE_PORT}"
      - "22"
    ports:
      - "2222:22"
      - "${DACHS_PORT}:${DACHS_PORT}"
      - "${APACHE_PORT}:${APACHE_PORT}"
    build:
      context: .
      dockerfile: dachs-dockerfile
      args:   
        - "VERSION=${VERSION}"
        - "GITREPO_INSTITUTION=${GITREPO_INSTITUTION}"
        - "GITREPO_SERVER=${GITREPO_SERVER}"
        - "DACHS_PORT=${DACHS_PORT}"
        - "APACHE_PORT=${APACHE_PORT}"
        - "SERVERNAME=${SERVERNAME}"

### 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)
#    volumes:
#      - ./data:/home/dachsroot/data
 
### To uncomment for production :
#    restart: always