mirror of
https://github.com/civsocit/olgram.git
synced 2023-07-22 01:29:12 +03:00
update docker-compose-full example
This commit is contained in:
parent
e95f21d413
commit
942862f171
@ -1,7 +1,7 @@
|
|||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres
|
image: postgres:13.4
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
env_file:
|
env_file:
|
||||||
- release.env
|
- release.env
|
||||||
@ -9,6 +9,8 @@ services:
|
|||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
labels:
|
||||||
|
- 'com.centurylinklabs.watchtower.enable="false"'
|
||||||
redis:
|
redis:
|
||||||
image: 'bitnami/redis:latest'
|
image: 'bitnami/redis:latest'
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -20,6 +22,8 @@ services:
|
|||||||
- release.env
|
- release.env
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
|
labels:
|
||||||
|
- 'com.centurylinklabs.watchtower.enable="false"'
|
||||||
olgram:
|
olgram:
|
||||||
image: ghcr.io/civsocit/olgram/bot:stable
|
image: ghcr.io/civsocit/olgram/bot:stable
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
@ -71,6 +75,8 @@ services:
|
|||||||
- --certificatesresolvers.le.acme.tlschallenge=false
|
- --certificatesresolvers.le.acme.tlschallenge=false
|
||||||
- --certificatesresolvers.le.acme.httpchallenge=true
|
- --certificatesresolvers.le.acme.httpchallenge=true
|
||||||
- --certificatesresolvers.le.acme.httpchallenge.entrypoint=web
|
- --certificatesresolvers.le.acme.httpchallenge.entrypoint=web
|
||||||
|
labels:
|
||||||
|
- 'com.centurylinklabs.watchtower.enable="false"'
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database:
|
database:
|
||||||
|
Loading…
Reference in New Issue
Block a user