Updates
This commit is contained in:
@ -13,7 +13,7 @@
|
||||
name: "{{ backend_image }}"
|
||||
source: pull
|
||||
state: present
|
||||
# force_source: yes
|
||||
force_source: yes
|
||||
|
||||
- name: Upload the .env file
|
||||
template:
|
||||
@ -28,12 +28,12 @@
|
||||
restart_policy: "unless-stopped"
|
||||
command: sh -c "cp -r /app/public/ / && rm -rf tmp/pids && ./bin/rails s -p 3003 -b '0.0.0.0'"
|
||||
env_file: "/var/lib/{{ host_directory }}/.env"
|
||||
links:
|
||||
- "postgres:db"
|
||||
published_ports:
|
||||
- "127.0.0.1:3003:3003"
|
||||
volumes:
|
||||
- "/var/lib/{{ host_directory }}/frontend:/public"
|
||||
links:
|
||||
- "postgres:db"
|
||||
|
||||
- name: Check if Nginx conf file exists
|
||||
stat: path="/etc/nginx/sites-available/{{ http_conf }}"
|
||||
|
||||
Reference in New Issue
Block a user