forked from hermesj/autodone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
70 lines (58 loc) · 1.51 KB
/
compose.yml
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
version: "3"
x-anchor:
service: &service
hostname: localhost
environment: &environment
# AUTODONE
SERVER_PORT: 4000
SPRING_PROFILES_ACTIVE: test
# MASTODON
LOCAL_DOMAIN: $HOSTNAME:3000
MASTODON_WEB_DOMAIN: $HOSTNAME:3000
MASTODON_ADMIN_EMAIL: autodone@localhost
MASTODON_ADMIN_USERNAME: autodone
MASTODON_ADMIN_PASSWORD: autodone
ALLOW_EMPTY_PASSWORD: yes
MASTODON_DATABASE_HOST: postgres
MASTODON_DATABASE_NAME: autodone
MASTODON_DATABASE_USERNAME: autodone
MASTODON_DATABASE_PASSWORD: autodone
MASTODON_ELASTICSEARCH_ENABLED: false
MASTODON_REDIS_HOST: redis
# POSTGRES
POSTGRES_DB: autodone
POSTGRES_USER: autodone
POSTGRES_PASSWORD: autodone
services:
autodone:
<<: *service
command: mvn -f /src spring-boot:run
image: maven:3-eclipse-temurin-17-alpine
ports: [4000:4000]
volumes: [$PWD:/src]
mastodon:
<<: *service
image: bitnami/mastodon:4
ports: [3000:3000]
environment:
<<: *environment
MASTODON_MODE: web
# mastodon-streaming:
# <<: *service
# image: bitnami/mastodon:4
# ports: [4000:4000]
# environment:
# <<: *environment
# MASTODON_MODE: streaming
# mastodon-sidekiq:
# <<: *service
# image: bitnami/mastodon:4
# environment:
# <<: *environment
# MASTODON_MODE: sidekiq
postgres:
<<: *service
image: postgres:16-alpine
redis:
<<: *service
image: redis:7-alpine