-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
97 lines (91 loc) · 2.53 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
92
93
94
95
96
97
services:
# Database - Used for testing only
mysql:
container_name: mysql
image: docker.io/library/mysql:9.1.0
command:
- "mysqld"
- "--innodb-ft-min-token-size=2"
- "--innodb-ft-max-token-size=40"
- "--default-time-zone=Europe/Berlin"
- '--sql-mode=STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION'
environment:
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD:-secret-pw-for-root-user}
MYSQL_USER: ${MYSQL_USER:-fivenet}
MYSQL_PASSWORD: ${MYSQL_PASSWORD:-changeme}
MYSQL_DATABASE: ${MYSQL_DATABASE:-fivenet}
volumes:
- mysql:/var/lib/mysql
ports:
- "3306:3306"
network_mode: host
restart: unless-stopped
# Message Queue
nats:
container_name: nats
image: docker.io/library/nats:2.10.22-alpine3.20
command:
- --jetstream
# If you change the user/password, you must update the `.nats.url` in FiveNet's `config.yaml`
- --user=fivenet
- --pass=fivenet_topsecret
ports:
- "4222:4222"
- "8222:8222"
- "6222:6222"
network_mode: host
restart: unless-stopped
# FiveNet Server
#fivenet_server:
# container_name: fivenet-server
# image: ghcr.io/fivenet-app/fivenet:main
# environment:
# #VIRTUAL_HOST: "example.com"
# VIRTUAL_PATH: "/"
# command:
# - server
# ports:
# - "7070:7070"
# - "8080:8080"
# network_mode: host
# restart: unless-stopped
# volumes:
# - ./config.yaml:/config/config.yaml
# FiveNet Worker
#fivenet_worker:
# container_name: fivenet-worker
# image: ghcr.io/fivenet-app/fivenet:main
# command:
# - worker
# ports:
# - "7070:7070"
# restart: unless-stopped
# volumes:
# - ./config.yaml:/config/config.yaml
# FiveNet Discord
#fivenet_discord:
# container_name: fivenet-discord
# image: ghcr.io/fivenet-app/fivenet:main
# command:
# - discord
# ports:
# - "7070:7070"
# restart: unless-stopped
# volumes:
# - ./config.yaml:/config/config.yaml
# Iconify - Requires an ingress controller (e.g., jwilder/nginx-proxy), like Traefik, that makes iconify available under `/api/icons`
#iconify:
# container_name: iconify
# image: docker.io/iconify/api:latest
# environment:
# #VIRTUAL_HOST: "example.com"
# VIRTUAL_PATH: "/api/icons"
# ICONIFY_SOURCE: "full"
# REDIRECT_INDEX: "/about"
# ALLOW_UPDATE: "false"
# ENABLE_ICON_LISTS: "false"
# ENABLE_SEARCH_ENGINE: "false"
# ports:
# - "3000:3000"
volumes:
mysql: