2023-12-16 06:09:50 +00:00
|
|
|
version: '3.9'
|
|
|
|
|
|
|
|
services:
|
2024-05-14 13:07:09 +00:00
|
|
|
# niki-core:
|
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# target: development
|
|
|
|
# image: niki-core
|
|
|
|
# container_name: niki-core
|
|
|
|
# networks:
|
|
|
|
# - core
|
|
|
|
# restart: always
|
|
|
|
# ports:
|
|
|
|
# - "1313:1313"
|
|
|
|
# links:
|
|
|
|
# - "niki-mariadb"
|
|
|
|
# depends_on:
|
|
|
|
# - "niki-mariadb"
|
|
|
|
# - "niki-redis"
|
2024-02-18 10:42:21 +00:00
|
|
|
|
2024-03-09 06:59:51 +00:00
|
|
|
niki-mariadb:
|
|
|
|
image: docker.io/bitnami/mariadb:11.1
|
|
|
|
container_name: niki-mariadb
|
|
|
|
restart: always
|
2023-12-16 06:09:50 +00:00
|
|
|
ports:
|
2024-03-09 06:59:51 +00:00
|
|
|
- '127.0.0.1:3306:3306'
|
2024-02-18 10:42:21 +00:00
|
|
|
networks:
|
|
|
|
- core
|
2024-03-09 06:59:51 +00:00
|
|
|
volumes:
|
|
|
|
- 'niki-mariadb-data:/bitnami/mariadb'
|
2023-12-16 06:09:50 +00:00
|
|
|
environment:
|
2024-03-09 06:59:51 +00:00
|
|
|
MARIADB_USER: niki
|
|
|
|
MARIADB_PASSWORD: ${NIKI_STAGE_MARIADB_UR_PASSWORD}
|
|
|
|
MARIADB_DATABASE: niki_db
|
|
|
|
MARIADB_ROOT_PASSWORD: ${NIKI_STAGE_MARIADB_RT_PASSWORD}
|
|
|
|
ALLOW_EMPTY_PASSWORD: no
|
2024-01-14 15:53:37 +00:00
|
|
|
|
|
|
|
niki-redis:
|
|
|
|
image: bitnami/redis:6.2
|
|
|
|
container_name: niki-redis
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- '6380:6379'
|
|
|
|
# TODO - remove `--save "" --appendonly no` from command to persist data
|
|
|
|
command: redis-server --loglevel warning --protected-mode no --save "" --appendonly no
|
|
|
|
environment:
|
|
|
|
- ALLOW_EMPTY_PASSWORD=yes
|
2024-02-18 10:42:21 +00:00
|
|
|
networks:
|
|
|
|
- core
|
2024-01-14 15:53:37 +00:00
|
|
|
volumes:
|
|
|
|
- niki-redis-data:/data
|
|
|
|
|
2023-12-16 06:09:50 +00:00
|
|
|
|
2024-01-14 15:53:37 +00:00
|
|
|
volumes:
|
2024-03-09 06:59:51 +00:00
|
|
|
niki-mariadb-data:
|
2024-02-18 10:42:21 +00:00
|
|
|
niki-redis-data:
|
|
|
|
|
|
|
|
networks:
|
|
|
|
core:
|
|
|
|
driver: "bridge"
|