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

Set up Pelican server #200

Closed
jpmckinney opened this issue Nov 4, 2020 · 6 comments · Fixed by #418
Closed

Set up Pelican server #200

jpmckinney opened this issue Nov 4, 2020 · 6 comments · Fixed by #418
Assignees
Labels
S: kingfisher Relating to the Kingfisher servers S: pelican Relating to the Pelican service

Comments

@jpmckinney
Copy link
Member

jpmckinney commented Nov 4, 2020

Once I've migrated Kingfisher Archive files to S3, I'll start setting up this server. Just putting some notes down.

@jpmckinney
Copy link
Member Author

jpmckinney commented May 5, 2021

This will now be done by Datlab. (docs)

  • Once complete, we can delete our UptimeRobot account (and I can remove MFA token from app).

@jpmckinney
Copy link
Member Author

jpmckinney commented Sep 18, 2021

  • When deploying Pelican to the Helpdesk server, need to re-add this service to docker-compose.yaml (relative to registry):
  vue:
    image: "ghcr.io/open-contracting/pelican-frontend-vue:latest"
    ports:
      - "8004:80"
    restart: unless-stopped
    volumes:
      - /data:/data
  • And set CORS_ALLOWED_ORIGINS: https://pelican.open-contracting.org in Pillar.

@jpmckinney jpmckinney added the S: pelican Relating to the Pelican service label Dec 9, 2022
@jpmckinney
Copy link
Member Author

jpmckinney commented Dec 9, 2022

Split from #152

* Once Pelican's deployment is under this repo's control, we can modify it to use sslmode=verify-full.

Edit: #152 is closed as not planned.

@jpmckinney jpmckinney self-assigned this Jan 9, 2023
@jpmckinney jpmckinney added the S: kingfisher Relating to the Kingfisher servers label Jan 10, 2023
@jpmckinney
Copy link
Member Author

jpmckinney commented Jan 18, 2023

Need to create a .env file in the frontend directory with VUE_APP_API_BASE_URL pointing to the Django server, e.g. http://host.docker.internal:8001

JS files are already built by then, and are served statically with no opportunity to read from the environment.

For now, I'm just setting the production value as a build arg in the Docker workflow of the pelican-frontend repository.

@jpmckinney
Copy link
Member Author

jpmckinney commented Mar 25, 2023

Okay, I think everything in this issue is reflected in #418

@jpmckinney
Copy link
Member Author

Closing in advance of #418, to make it easier to keep track of what's left to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: kingfisher Relating to the Kingfisher servers S: pelican Relating to the Pelican service
Projects
None yet
1 participant