sunetdrive/templates/multinode/docker-compose_cache.yml.erb

33 lines
678 B
Plaintext
Raw Normal View History

2023-02-13 09:44:56 +00:00
version: '3.2'
services:
redis-server:
image: redis:alpine
dns:
- 89.46.20.75
- 89.46.21.29
- 89.32.32.32
volumes:
- <%= @redis_conf_dir %>:/data
command: redis-server /data/redis.conf --loglevel verbose
restart: always
networks:
2023-03-20 08:38:45 +00:00
<%- if @environment == 'test' -%>
- proxysql_proxysql
<%- else %>
2023-02-28 07:40:16 +00:00
- mariadb-<%= @customer %>_<%= @customer %>
2023-03-20 08:38:45 +00:00
<% end -%>
2023-02-13 09:44:56 +00:00
networks:
2023-02-28 07:40:16 +00:00
mariadb-<%= @customer %>_<%= @customer %>:
2023-02-13 09:44:56 +00:00
external: true
2023-03-20 08:38:45 +00:00
<%- if @environment == 'test' -%>
proxysql_proxysql:
external: true
<%- else %>
mariadb-<%= @customer %>_<%= @customer %>:
external: true
<% end -%>
2023-02-13 09:44:56 +00:00