diff --git a/docker-compose.production.yml b/docker-compose.production.yml new file mode 100644 index 0000000..92a903c --- /dev/null +++ b/docker-compose.production.yml @@ -0,0 +1,29 @@ +#version: '3' +services: + merms-media: + build: + context: . + dockerfile: docker/apache/Dockerfile + args: + uid: ${UID} + environment: + - APACHE_RUN_USER=#${UID} + - APACHE_RUN_GROUP=#${UID} + - CI_ENVIRONMENT=production + - CI_CONFIG + restart: unless-stopped + image: registry.chiefsoft.net/mermsprovision:latest + volumes: + - ./:/var/www/html + - ./apache_log:/var/log/apache2 + ports: + - "${CONTAINER_PORT}:80" + extra_hosts: + - api.mermsemr.com:10.10.33.15 + - devapi.mermsemr.com:10.10.33.15 + - devsocket.mermsemr.com:10.10.33.15 + - socket.mermsemr.com:10.10.33.15 + - dev-media.mermsemr.com:10.10.33.15 + - media.mermsemr.com:10.10.33.15 +volumes: + src: