A00006 added
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
---
|
||||
- hosts: WHAT_HOST_IN_USE
|
||||
|
||||
tasks:
|
||||
- name: Creates directory DESTINATION_FOLDER
|
||||
ansible.builtin.file:
|
||||
path: DESTINATION_FOLDER
|
||||
state: directory
|
||||
mode: 0775
|
||||
recurse: yes
|
||||
|
||||
- name: Set up docker-compose file
|
||||
template:
|
||||
src: "WHAT_PART_LOCAL/docker-compose.yml"
|
||||
dest: "DESTINATION_FOLDER"
|
||||
|
||||
- name: docker compose up
|
||||
shell:
|
||||
chdir: "DESTINATION_FOLDER/"
|
||||
cmd: docker-compose up -d
|
||||
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
mermsemr-WHAT_CONTAINER_NAME:
|
||||
image: PROVISION_IMAGE_NAME_REPLACE
|
||||
ports:
|
||||
- "${APP_PORT}:3000"
|
||||
volumes:
|
||||
- .:/app
|
||||
- /app/node_modules
|
||||
- /app/.next
|
||||
environment:
|
||||
- WDS_SOCKET_HOST=localhost # Or your Docker IP if needed
|
||||
- CHOKIDAR_USEPOLLING=true
|
||||
- WATCHPACK_POLLING=true
|
||||
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
|
||||
command: yarn dev # or npm run dev
|
||||
Reference in New Issue
Block a user