This commit is contained in:
mihalin 2021-09-12 22:36:14 +03:00
parent 2a7def4809
commit 3c303efa80
3 changed files with 0 additions and 83 deletions

View File

@ -1,83 +0,0 @@
version: '3'
services:
postgres:
image: kartoza/postgis
restart: unless-stopped
env_file:
- release.env
volumes:
- database:/var/lib/postgresql/data
networks:
- traefik
redis:
image: 'bitnami/redis:latest'
restart: unless-stopped
environment:
- ALLOW_EMPTY_PASSWORD=yes
volumes:
- redis-db:/bitnami/redis/data
env_file:
- release.env
networks:
- traefik
olgram:
image: ghcr.io/civsocit/olgram/bot:stable
restart: unless-stopped
networks:
- traefik
labels:
- 'com.centurylinklabs.watchtower.enable="true"'
- "traefik.enable=true"
- "traefik.http.routers.static.rule=Host(`test.civsoc.it`)"
- "traefik.http.routers.static.tls=true"
- "traefik.http.routers.static.tls.certresolver=le"
- "traefik.http.routers.static.entrypoints=websecure"
- "traefik.docker.network=traefik"
env_file:
- release.env
depends_on:
- postgres
- redis
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./config.json:/config.json
command: --interval 30
networks:
- traefik
traefik:
image: traefik:v2.4
container_name: olgram_traefik
restart: unless-stopped
ports:
- "80:80"
- "443:443"
networks:
- traefik
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- ./acme:/acme
command:
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --providers.docker=true
- --providers.docker.endpoint=unix:///var/run/docker.sock
- --providers.docker.exposedByDefault=false
- --providers.docker.network=traefik
- --certificatesresolvers.le.acme.email=youmustfly@civsoc.it
- --certificatesresolvers.le.acme.storage=/acme/acme.json
- --certificatesresolvers.le.acme.tlschallenge=false
- --certificatesresolvers.le.acme.httpchallenge=true
- --certificatesresolvers.le.acme.httpchallenge.entrypoint=web
volumes:
database:
redis-db:
networks:
traefik:
driver: bridge

BIN
media/logo1.JPG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

BIN
media/logo2.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB