/ docker-compose.yml
docker-compose.yml
1 # docker-compose -f docker-compose-release.yml build 2 # docker-compose -f docker-compose-release.yml up 3 4 version: '3.8' 5 6 x-app: &app 7 8 volumes: 9 build: 10 11 services: 12 app: 13 build: 14 context: . 15 dockerfile: Dev.dockerfile 16 command: bash -l -c "tail -f /dev/null" 17 depends_on: 18 - db 19 - solr 20 - db-test 21 - solr-test 22 env_file: 23 - .env.docker.dev 24 volumes: 25 - .:/archivesspace 26 - build:/archivesspace/build 27 - ./build/build.xml:/archivesspace/build/build.xml 28 ports: 29 - 3000:3000 30 - 3001:3001 31 - 4567:4567 32 33 db: 34 image: mysql:8 35 command: --character-set-server=UTF8MB4 --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2 --log_bin_trust_function_creators=1 36 ports: 37 - "3308:3306" 38 env_file: 39 - .env.docker.db 40 solr: 41 build: 42 context: ./solr 43 image: archivesspace/solr:latest 44 command: solr-create -p 8983 -c archivesspace -d archivesspace 45 ports: 46 - "8985:8983" 47 # web: 48 # build: 49 # args: 50 # default: default.conf.release 51 # context: ./proxy 52 # image: archivesspace/proxy-release:1.21 53 # ports: 54 # - "8080:80" 55 # depends_on: 56 # - app 57 58 db-test: 59 image: mysql:8 60 command: --character-set-server=UTF8MB4 --innodb_buffer_pool_size=2G --innodb_buffer_pool_instances=2 --log_bin_trust_function_creators=1 61 ports: 62 - "3307:3306" 63 env_file: 64 - .env.docker.db 65 66 solr-test: 67 build: 68 context: ./solr 69 image: archivesspace/solr:latest 70 command: solr-create -p 8983 -c archivesspace -d archivesspace 71 ports: 72 - "8984:8983"