-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcompose.yml
35 lines (33 loc) · 911 Bytes
/
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
services:
server:
build:
context: .
dockerfile: .docker/Dockerfile
args:
- port=${PORT}
image: nym-exchange-server
restart: unless-stopped
environment:
RUST_LOG: ${RUST_LOG}
ports:
- "${PORT}:${PORT}"
volumes:
- ${GEOIP_DB_DIRECTORY}/GeoLite2-Country.mmdb:/opt/server/geo_ip/db.mmdb
- ./assets:/opt/server/assets
- ./bity_config.json:/opt/server/bity/config.json
networks:
- nym-bity
geoipupdate:
image: maxmindinc/geoipupdate
restart: unless-stopped
environment:
GEOIPUPDATE_ACCOUNT_ID: ${GEOIPUPDATE_ACCOUNT_ID}
GEOIPUPDATE_LICENSE_KEY: ${GEOIPUPDATE_LICENSE_KEY}
GEOIPUPDATE_EDITION_IDS: ${GEOIPUPDATE_EDITION_IDS}
GEOIPUPDATE_FREQUENCY: ${GEOIPUPDATE_FREQUENCY}
volumes:
- ${GEOIP_DB_DIRECTORY}:/usr/share/GeoIP
networks:
- nym-bity
networks:
nym-bity: