-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
50 lines (45 loc) · 1.15 KB
/
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
services:
postgres:
image: "bitnami/postgresql:16"
ports:
- "5432:5432"
environment:
- POSTGRESQL_USERNAME=user
- POSTGRESQL_PASSWORD=pass
- POSTGRESQL_DATABASE=starter
volumes:
- "postgres_data:/bitnami/postgresql"
redis:
image: "bitnami/redis:6.2"
ports:
- "6379:6379"
environment:
- REDIS_PASSWORD=pass
volumes:
- "redis_data:/bitnami"
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- "1025:1025"
- "8025:8025"
geoipupdate:
image: ghcr.io/maxmind/geoipupdate
restart: on-failure
environment:
- GEOIPUPDATE_ACCOUNT_ID_FILE=/run/secrets/GEOIPUPDATE_ACCOUNT_ID
- GEOIPUPDATE_LICENSE_KEY_FILE=/run/secrets/GEOIPUPDATE_LICENSE_KEY
- GEOIPUPDATE_EDITION_IDS=GeoLite2-City
- GEOIPUPDATE_FREQUENCY=168
volumes:
- "./data/geoipupdate:/usr/share/GeoIP"
secrets:
- GEOIPUPDATE_ACCOUNT_ID
- GEOIPUPDATE_LICENSE_KEY
secrets:
GEOIPUPDATE_ACCOUNT_ID:
file: ./secrets/GEOIPUPDATE_ACCOUNT_ID.txt
GEOIPUPDATE_LICENSE_KEY:
file: ./secrets/GEOIPUPDATE_LICENSE_KEY.txt
volumes:
postgres_data:
redis_data: