-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
91 lines (82 loc) · 1.78 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
services:
nuku-api:
build: .
# dockerfile: ./Dockerfile
container_name: nuku-api
ports:
- "5000:5000"
# depends_on:
# - nuku-redis
# - nuku-mongodb
# - nuku-redis-worker
restart: always
# networks:
# - nuku-api-network
# nuku-worker:
# build:
# context: ./nuku-redis-worker
# dockerfile: ./Dockerfile
# command: ["node", "worker.js"]
# restart: always
# depends_on:
# - nuku-redis
# nuku-redis:
# image: redis
# ports:
# - "6379:6379"
# nuku-mongodb:
# image: mongo:6-jammy
# ports:
# - '27017:27017'
# volumes:
# - dbdata6:/data/db
# networks:
# - nuku-api-network
# volumes:
# dbdata6:
# networks:
# nuku-api-network:
# driver: bridge
# db:
# restart: always
# image: postgres
# ports:
# - "5432:5432"
# environment:
# - POSTGRES_USER=mastodon
# - POSTGRES_PASSWORD=mastodon
# - POSTGRES_DB=mastodon
# - POSTGRES_HOST_AUTH_METHOD=trust
# healthcheck:
# test: ["CMD", "pg_isready", "-U", "postgres"]
# redis:
# restart: always
# image: redis
# ports:
# - "6379:6379"
# healthcheck:
# test: ["CMD", "redis-cli", "ping"]
# mastodon:
# restart: always
# image: neetshin/mastodon-dev:4.3.0
# ports:
# - "3000:3000"
# - "4000:4000"
# depends_on:
# - db
# - redis
# healthcheck:
# test:
# [
# "CMD-SHELL",
# "wget -q --spider --proxy=off localhost:3000/health || exit 1",
# ]
# env_file:
# - .env.test
# environment:
# - RAILS_ENV=development
# command: >
# /bin/bash -c "
# bundle exec rails db:setup &&
# foreman start
# "