Correct network settings
This commit is contained in:
parent
d104fd4299
commit
238172397b
|
@ -13,20 +13,9 @@ services:
|
|||
command: redis-server /data/redis.conf --loglevel verbose
|
||||
restart: always
|
||||
networks:
|
||||
<%- if @environment == 'test' -%>
|
||||
- proxysql_proxysql
|
||||
<%- else %>
|
||||
- mariadb-<%= @customer %>_<%= @customer %>
|
||||
<% end -%>
|
||||
|
||||
networks:
|
||||
mariadb-<%= @customer %>_<%= @customer %>:
|
||||
external: true
|
||||
<%- if @environment == 'test' -%>
|
||||
proxysql_proxysql:
|
||||
external: true
|
||||
<%- else %>
|
||||
mariadb-<%= @customer %>_<%= @customer %>:
|
||||
external: true
|
||||
<% end -%>
|
||||
|
||||
|
|
|
@ -16,11 +16,7 @@ services:
|
|||
- <%= @rclone_conf_path %>:/rclone.conf
|
||||
networks:
|
||||
- default
|
||||
<%- if @environment == 'test' -%>
|
||||
- proxysql_proxysql
|
||||
<%- else %>
|
||||
- mariadb-<%= @customer %>_<%= @customer %>
|
||||
<% end -%>
|
||||
dns:
|
||||
- 89.46.20.75
|
||||
- 89.46.21.29
|
||||
|
@ -31,10 +27,5 @@ services:
|
|||
tty: true
|
||||
|
||||
networks:
|
||||
<%- if @environment == 'test' -%>
|
||||
proxysql_proxysql:
|
||||
external: true
|
||||
<%- else %>
|
||||
mariadb-<%= @customer %>_<%= @customer %>:
|
||||
external: true
|
||||
<% end -%>
|
||||
|
|
Loading…
Reference in a new issue