1- # Comments are provided throughout this file to help you get started.
2- # If you need more help, visit the Docker Compose reference guide at
3- # https://docs.docker.com/go/compose-spec-reference/
4-
5- # Here the instructions define your application as a service called "server".
6- # This service is built from the Dockerfile in the current directory.
7- # You can add other services your application may depend on here, such as a
8- # database or a cache. For examples, see the Awesome Compose repository:
9- # https://github.com/docker/awesome-compose
101services :
112 clive :
12- env_file : .env
3+ image : ghcr.io/mangosango/clive:latest
134 volumes :
145 - /path/to/db_and_logs_folder:/config
156 # environment:
@@ -26,36 +17,4 @@ services:
2617 # RICH_EMBED: true
2718 # URL_AVATAR: http://i.imgur.com/9s3TBNv.png
2819 # BOT_USERNAME: "Clive"
29-
30-
31- # The commented out section below is an example of how to define a PostgreSQL
32- # database that your application can use. `depends_on` tells Docker Compose to
33- # start the database before your application. The `db-data` volume persists the
34- # database data between container restarts. The `db-password` secret is used
35- # to set the database password. You must create `db/password.txt` and add
36- # a password of your choosing to it before running `docker-compose up`.
37- # depends_on:
38- # db:
39- # condition: service_healthy
40- # db:
41- # image: postgres
42- # restart: always
43- # user: postgres
44- # secrets:
45- # - db-password
46- # volumes:
47- # - db-data:/var/lib/postgresql/data
48- # environment:
49- # - POSTGRES_DB=example
50- # - POSTGRES_PASSWORD_FILE=/run/secrets/db-password
51- # expose:
52- # - 5432
53- # healthcheck:
54- # test: [ "CMD", "pg_isready" ]
55- # interval: 10s
56- # timeout: 5s
57- # retries: 5
58- # volumes:
59- # db-data:
60-
61-
20+ # env_file: .env # Alternatly use a .env file
0 commit comments