Skip to content

New Docker image for LinkAce v2 #502

Closed
@Kovah

Description

Currently, there are two images available for LinkAce: one which only contains the application and needs a separate web server like nginx, and one that is able to run on its own as it contains said web server.

To make things easier for the users who want to set up LinkAce and me as maintainer, I want to publish only one image in the future that contains a web server. There will be only one setup process for Docker for version 2.

  • Remove the advanced image. linkace/linkace:simple becomes linkace/linkace and the previous linkace/linkace will be removed.
  • Check which web server to use in the final image, nginx and Caddy are viable options.
  • Publish the image on both the Docker Hub and the Github Container Registry.
  • Update the docs to use the www-data user when running commands inside the container.
  • Test a possible HTTPS setup with Caddy and a separate config file.

Edit:

  • I moved from nginx to Caddy. Caddy is easier to configure and manage than nginx.
  • Caddy is configured to trust all private networks as proxies, including Docker networks.
  • The release Docker image is ready to be used with SQLite without difficult configurations. Only DB_CONNECTION and DB_DATABASE are needed.
  • The base image now includes Supervisor and Caddy by default which saves a bit of build time.
  • The ownership and permissions of the files inside the image are changed to www-data to prevent permission conflicts.
  • The container uses the www-data user by default now.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementAny requests for improvements or new features

    Projects

    • Status

      Released

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions