2023-03-04 13:19:01 +01:00
|
|
|
x-svc: &service
|
|
|
|
env_file:
|
2023-03-04 14:24:38 +01:00
|
|
|
- "run/env/service.env"
|
2023-03-04 13:19:01 +01:00
|
|
|
volumes:
|
|
|
|
- vol:/vol
|
|
|
|
- conf:/wmsa/conf:ro
|
|
|
|
- model:/wmsa/model
|
2023-03-25 10:20:44 +01:00
|
|
|
- data:/wmsa/data
|
2023-03-04 13:19:01 +01:00
|
|
|
- logs:/var/log/wmsa
|
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
|
|
|
|
services:
|
|
|
|
index-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/index-service"
|
|
|
|
container_name: "index-service"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5021:5021/tcp"
|
|
|
|
- "127.0.0.1:4021:5000"
|
|
|
|
- "127.0.0.1:7021:4000"
|
|
|
|
search-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/search-service"
|
|
|
|
container_name: "search-service"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5023:5023"
|
|
|
|
- "127.0.0.1:4023:5000"
|
|
|
|
- "127.0.0.1:7023:4000"
|
|
|
|
depends_on:
|
|
|
|
- index-service
|
|
|
|
assistant-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/assistant-service"
|
|
|
|
container_name: "assistant-service"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5025:5025"
|
|
|
|
- "127.0.0.1:4025:5000"
|
|
|
|
- "127.0.0.1:7025:4000"
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
api-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/api-service"
|
|
|
|
container_name: "api-service"
|
|
|
|
ports:
|
2023-04-22 15:42:32 +02:00
|
|
|
- "127.0.0.1:5004:5004"
|
2023-03-04 13:19:01 +01:00
|
|
|
- "127.0.0.1:4004:5000"
|
|
|
|
- "127.0.0.1:7004:4000"
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
dating-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/dating-service"
|
|
|
|
container_name: "dating-service"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5070:5070"
|
|
|
|
- "127.0.0.1:4070:5000"
|
|
|
|
- "127.0.0.1:7070:4000"
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
explorer-service:
|
|
|
|
<<: *service
|
|
|
|
image: "marginalia.nu/explorer-service"
|
|
|
|
container_name: "explorer-service"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:5071:5071"
|
|
|
|
- "127.0.0.1:4071:5000"
|
|
|
|
- "127.0.0.1:7071:4000"
|
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
mariadb:
|
|
|
|
image: "mariadb/server:10.3"
|
|
|
|
container_name: "mariadb"
|
2023-03-04 14:24:38 +01:00
|
|
|
env_file: "run/env/mariadb.env"
|
2023-03-04 13:19:01 +01:00
|
|
|
command: ['mysqld', '--character-set-server=utf8mb4', '--collation-server=utf8mb4_unicode_ci']
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:3306:3306/tcp"
|
|
|
|
volumes:
|
|
|
|
- db:/var/lib/mysql
|
2023-03-25 15:26:17 +01:00
|
|
|
- "./code/common/db/src/main/resources/sql/current/:/docker-entrypoint-initdb.d/"
|
2023-03-04 13:19:01 +01:00
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
nginx-gw:
|
|
|
|
image: "nginx"
|
|
|
|
container_name: "nginx-gw"
|
|
|
|
ports:
|
|
|
|
- "127.0.0.1:8080:80"
|
|
|
|
volumes:
|
|
|
|
- "./run/nginx-site.conf:/etc/nginx/conf.d/default.conf"
|
|
|
|
networks:
|
|
|
|
- wmsa
|
|
|
|
depends_on:
|
|
|
|
- search-service
|
|
|
|
networks:
|
|
|
|
wmsa:
|
|
|
|
volumes:
|
|
|
|
db:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/db
|
|
|
|
vol:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/vol
|
|
|
|
logs:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/logs
|
|
|
|
model:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/model
|
|
|
|
conf:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
2023-03-18 10:43:51 +01:00
|
|
|
device: run/conf
|
2023-03-25 10:20:44 +01:00
|
|
|
data:
|
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: none
|
|
|
|
o: bind
|
|
|
|
device: run/data
|