mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-21 03:30:42 +00:00
* Initial plan * Update PostgreSQL volume mount paths for PostgreSQL 18 compatibility Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
65 lines
1.5 KiB
YAML
65 lines
1.5 KiB
YAML
services:
|
|
a.test:
|
|
extends:
|
|
file: ./compose.tpl.yml
|
|
service: nginx
|
|
depends_on:
|
|
misskey.a.test:
|
|
condition: service_healthy
|
|
networks:
|
|
- internal_network_a
|
|
volumes:
|
|
- type: bind
|
|
source: ./.config/a.test.conf
|
|
target: /etc/nginx/conf.d/a.test.conf
|
|
read_only: true
|
|
- type: bind
|
|
source: ./certificates/a.test.crt
|
|
target: /etc/nginx/certificates/a.test.crt
|
|
read_only: true
|
|
- type: bind
|
|
source: ./certificates/a.test.key
|
|
target: /etc/nginx/certificates/a.test.key
|
|
read_only: true
|
|
|
|
misskey.a.test:
|
|
extends:
|
|
file: ./compose.tpl.yml
|
|
service: misskey
|
|
depends_on:
|
|
db.a.test:
|
|
condition: service_healthy
|
|
redis.test:
|
|
condition: service_healthy
|
|
setup:
|
|
condition: service_completed_successfully
|
|
networks:
|
|
- internal_network_a
|
|
volumes:
|
|
- type: bind
|
|
source: ./.config/a.test.config.json
|
|
target: /misskey/built/._config_.json
|
|
read_only: true
|
|
|
|
db.a.test:
|
|
extends:
|
|
file: ./compose.tpl.yml
|
|
service: db
|
|
networks:
|
|
- internal_network_a
|
|
volumes:
|
|
- type: bind
|
|
source: ./volumes/db.a
|
|
target: /var/lib/postgresql
|
|
bind:
|
|
create_host_path: true
|
|
|
|
networks:
|
|
internal_network_a:
|
|
internal: true
|
|
driver: bridge
|
|
ipam:
|
|
config:
|
|
- subnet: 172.21.0.0/16
|
|
ip_range: 172.21.0.0/24
|