forked from JakeUrban/polaris-project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
31 lines (30 loc) · 976 Bytes
/
docker-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
version: "3"
services:
# The three services below are required for all anchor types
server:
container_name: "server"
build: .
volumes:
- ./anchor/data:/code/data
ports:
- "8000:8000"
command: pipenv run python anchor/manage.py runserver --nostatic 0.0.0.0:8000
execute_outgoing_transactions:
container_name: "execute_outgoing_transactions"
build: .
volumes:
- ./anchor/data:/code/data
command: pipenv run python anchor/manage.py execute_outgoing_transactions --loop
watch_transaction:
container_name: "watch_transactions"
build: .
volumes:
- ./anchor/data:/code/data
command: pipenv run python anchor/manage.py watch_transactions
# Un-comment if running a SEP-6 or SEP-24 on-ramp
# poll_pending_deposits:
# container_name: "poll_pending_deposits"
# build: .
# volumes:
# - ./anchor/data:/code/data
# command: pipenv run python anchor/manage.py poll_pending_deposits --loop