29 lines
797 B
Text
29 lines
797 B
Text
|
|
services:
|
||
|
|
mariadb:
|
||
|
|
image: mariadb:11
|
||
|
|
container_name: portail_mariadb
|
||
|
|
restart: unless-stopped
|
||
|
|
ports:
|
||
|
|
- "127.0.0.1:{{ portail_mysql_port }}:3306"
|
||
|
|
environment:
|
||
|
|
MARIADB_ROOT_PASSWORD: "{{ portail_mysql_root_password }}"
|
||
|
|
MARIADB_DATABASE: "{{ portail_mysql_database }}"
|
||
|
|
MARIADB_USER: "{{ portail_mysql_user }}"
|
||
|
|
MARIADB_PASSWORD: "{{ portail_mysql_password }}"
|
||
|
|
volumes:
|
||
|
|
- portail_mariadb_data:/var/lib/mysql
|
||
|
|
|
||
|
|
redis:
|
||
|
|
image: redis:7
|
||
|
|
container_name: portail_redis
|
||
|
|
restart: unless-stopped
|
||
|
|
command: ["redis-server", "--requirepass", "{{ portail_redis_password }}"]
|
||
|
|
ports:
|
||
|
|
- "127.0.0.1:{{ portail_redis_port }}:6379"
|
||
|
|
volumes:
|
||
|
|
- portail_redis_data:/data
|
||
|
|
|
||
|
|
volumes:
|
||
|
|
portail_mariadb_data:
|
||
|
|
portail_redis_data:
|