alist icon indicating copy to clipboard operation
alist copied to clipboard

Create a docker-compose.yml file for deploying it on a vps

Open bolavefasfas opened this issue 3 years ago • 2 comments

Please make sure of the following things

  • [X] I have read the documentation.
  • [] I'm sure there are no duplicate issues or discussions. # their are discussions but incomplete
  • [X] I'm sure this feature is not implemented.
  • [X] I'm sure it's a reasonable and popular requirement.

Description of the feature / 需求描述

Create a docker-compose.yml file for deploying it on a vps

Suggested solution / 实现思路

Create a docker-compose.yml file for deploying it on a vps With multiple database support or database of choice support like

  1. mysql
  2. postgress
  3. mongodb 4.and from environment variable for external database as well if we dont want to use locally hosted database
version: "3.3"
services:
    alist:
        restart: always
        volumes:
            - /etc/alist:/opt/alist/data
        ports:
            - "5244:5244"
        container_name: alist
        image: xhofe/alist:latest

I created this it is working perfectly with local database I would like to use external database in this as you already have a docker file its easy to create a docker-compose.yml

From any of these sites

  • https://db4free.net/
  • https://remotemysql.com/
  • https://www.freesqldatabase.com/
  • https://planetscale.com/
  • https://bit.io/
  • https://www.elephantsql.com/
  • https://scalingo.com/
  • http://cloud.yugabyte.com/

and local postgress or my sql with docker images

Additional context / 附件

No response

bolavefasfas avatar Oct 19 '22 18:10 bolavefasfas

Thanks for opening your first issue here! Be sure to follow the issue template!

welcome[bot] avatar Oct 19 '22 18:10 welcome[bot]

Any update on this

bolavefasfas avatar Oct 26 '22 12:10 bolavefasfas

Hello, this issue has been inactive for more than 30 days and will be closed if inactive for another 30 days.

github-actions[bot] avatar Dec 01 '22 00:12 github-actions[bot]