Skip to content

Commit

Permalink
Fixed example compose container registry link
Browse files Browse the repository at this point in the history
Added development compose for developers only
  • Loading branch information
RadioAndrea committed Jun 15, 2024
2 parents ac32181 + a4fcf50 commit c4c01a0
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 2 deletions.
89 changes: 89 additions & 0 deletions containers/devel-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
services:
free-tak-server:
# if you want a specific branch, change master to your branch name
image: ghcr.io/freetakteam/freetakserver:container_build_fixes
volumes:
- free-tak-core-db:/opt/fts/
ports:
# DataPackagePort
- 8080:8080
# CoTPort
- 8087:8087
# SSLCoTPort
- 8089:8089
# SSLDataPackagePort
- 8443:8443
# FederationPort
#- 9000:9000
# APIPort - Don't expose by default
#- 19023:19023

environment:
# The ChangeMe section
FTS_FED_PASSWORD: "defaultpass"
FTS_CLIENT_CERT_PASSWORD: "password"
FTS_SECRET_KEY: "vnkdjnfjknfl1232#"
FTS_NODE_ID: "fl5m8j5txlgdtfv8wi96zf8tt0howddo"
FTS_CONNECTION_MESSAGE: "Welcome to FreeTAKServer. The Parrot is not dead. It’s just resting"

# Networking
FTS_COT_PORT: 8087
FTS_SSLCOT_PORT: 8089
FTS_API_PORT: 19023
FTS_FED_PORT: 9000

FTS_DP_ADDRESS: 127.0.0.1
FTS_USER_ADDRESS: 127.0.0.1
FTS_API_ADDRESS: 0.0.0.0

FTS_ROUTING_PROXY_SUBSCRIBE_PORT: 19030
FTS_ROUTING_PROXY_SUBSCRIBE_IP: 127.0.0.1

FTS_ROUTING_PROXY_PUBLISHER_PORT: 19032
FTS_ROUTING_PROXY_PUBLISHER_IP: 127.0.0.1

FTS_ROUTING_PROXY_SERVER_PORT: 19031
FTS_ROUTING_PROXY_SERVER_IP: 127.0.0.1

FTS_INTEGRATION_MANAGER_PULLER_PORT: 19033 # port to receive worker responses by the integration manager
FTS_INTEGRATION_MANAGER_PULLER_ADDRESS: 127.0.0.1 # address to receive worker responses by the integration manager

FTS_INTEGRATION_MANAGER_PUBLISHER_PORT: 19034 # port from which to publish messages by the integration manager
FTS_INTEGRATION_MANAGER_PUBLISHER_ADDRESS: 127.0.0.1 # address from which to publish messages by the integration manager

# Misc Settings
FTS_OPTIMIZE_API: True
FTS_DATA_RECEPTION_BUFFER: 1024
FTS_MAX_RECEPTION_TIME: 4
FTS_NUM_ROUTING_WORKERS: 3
FTS_COT_TO_DB: True
# number of milliseconds to wait between each iteration of main loop
# decreasing will increase CPU usage and server performance
# increasing will decrease CPU usage and server performance
FTS_MAINLOOP_DELAY: 100
FTS_EMERGENCY_RADIUS: 0 # radius of emergency within-which users will receive it
FTS_LOG_LEVEL: "info"

free-tak-server-ui:
# if you want a specific branch, change master to your branch name
image: ghcr.io/freetakteam/ui:master
ports:
- 5000:5000
volumes:
- free-tak-ui-db:/home/freetak/data/
environment:
FTS_IP: 'free-tak-server'
FTS_API_PORT: 19023
FTS_API_PROTO: 'http'
FTS_UI_EXPOSED_IP: 'free-tak-server-ui'
FTS_MAP_EXPOSED_IP: 'localhost'
FTS_MAP_PORT: 8000
FTS_MAP_PROTO: 'http'
FTS_UI_PORT: 5000
FTS_UI_WSKEY: 'vnkdjnfjknfl1232#'
FTS_API_KEY: 'vnkdjnfjknfl1232#'
FTS_UI_SQLALCHEMY_DATABASE_URI: 'sqlite:////home/freetak/data/FTSServer-UI.db'

volumes:
free-tak-core-db:
free-tak-ui-db:
4 changes: 2 additions & 2 deletions containers/example-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
freetakserver:
image: freetakserver:latest
image: ghcr.io/freetakteam/freetakserver:latest
volumes:
- free-tak-core-db:/opt/fts/
ports:
Expand Down Expand Up @@ -64,7 +64,7 @@ services:
FTS_LOG_LEVEL: "info"

free-tak-server-ui:
image: freetakserver-ui:latest
image: ghcr.io/freetakteam/ui:latest
ports:
- 5000:5000
volumes:
Expand Down

0 comments on commit c4c01a0

Please sign in to comment.