Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serve SFTP uploads at /traffic/ #89

Merged
merged 1 commit into from
Feb 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ init: etc/sftp/users.conf etc/sftp/ssh_host_ed25519_key etc/sftp/ssh_host_rsa_ke
mkdir -p var/ocpdb/temp
mkdir -p var/park-api/logs
mkdir -p var/park-api/temp
mkdir -p var/traffic
mkdir -p var/www/datasets/traffic/incidents-bw

# Container management
# --------------------
Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ services:
ports:
# public:
# - index page
# - IPL assets
# - IPL assets, e.g. traffic data
# - well-known URIs (security.txt, favicon.ico, etc.)
- 6999:80
# GoAccess access statistics reports
Expand All @@ -157,7 +157,7 @@ services:

# index page (served on :80)
- ./etc/index-page:/var/www/index-page:ro
# public IPL assets (served on :80)
# public IPL assets, e.g. traffic data (served on :80)
- ./var/www/datasets:/var/www/datasets:ro
# well-known URIs: security.txt, favicon.ico, etc. (served on :80)
- ./etc/well-known:/var/www/well-known:ro
Expand Down Expand Up @@ -749,7 +749,7 @@ services:
- ./etc/sftp/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key:ro
- ./etc/sftp/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key:ro
- ./etc/sftp/polizeibw/keys:/home/polizeibw/.ssh/keys:ro
- ./var/traffic:/home/polizeibw/upload
- ./var/www/datasets/traffic/incidents-bw:/home/polizeibw/upload
restart: unless-stopped

networks:
Expand Down