feat: Suppression des fichiers de déploiement Docker
This commit is contained in:
parent
7f2fab4263
commit
6de3d92116
|
@ -1,5 +0,0 @@
|
|||
# Ignore everything
|
||||
**
|
||||
|
||||
!public
|
||||
content/associations/*
|
4
.env
4
.env
|
@ -1,4 +0,0 @@
|
|||
DOCKER_CONTEXT=vert.weko.resilien
|
||||
NAME=cremeaux
|
||||
URL=cremeaux.fr
|
||||
STATS_CONTAINER=crmx-stats
|
|
@ -1,4 +0,0 @@
|
|||
FROM registry.weko.io/nginx-lowtech:0.1.0
|
||||
|
||||
# Copie des sources du site
|
||||
COPY public /usr/share/nginx/html
|
|
@ -1,38 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
volumes:
|
||||
cremeaux-log:
|
||||
name: cremeaux-log
|
||||
cremeaux-stats:
|
||||
name: cremeaux-stats
|
||||
|
||||
services:
|
||||
crmx-prod:
|
||||
container_name: crmx-prod
|
||||
build: .
|
||||
image: registry.weko.io/cremeaux:latest
|
||||
restart: always
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.crmx-prod.rule: "Host(`${URL}`)"
|
||||
traefik.http.routers.crmx-prod.entrypoints: "web"
|
||||
com.centurylinklabs.watchtower.enable: "true"
|
||||
volumes:
|
||||
- cremeaux-log:/var/log/nginx
|
||||
- cremeaux-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
crmx-stats:
|
||||
container_name: crmx-stats
|
||||
image: registry.weko.io/goaccess:1.5.1
|
||||
restart: always
|
||||
volumes:
|
||||
- cremeaux-log:/var/log/nginx
|
||||
- cremeaux-stats:/usr/share/nginx/html/stats
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: traefik
|
|
@ -1,20 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: traefik
|
||||
|
||||
services:
|
||||
crmx-staging:
|
||||
container_name: crmx-staging
|
||||
build: .
|
||||
image: registry.weko.io/cremeaux:staging
|
||||
restart: always
|
||||
labels:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.crmx-staging.rule: "Host(`staging.${URL}`)"
|
||||
traefik.http.routers.crmx-staging.entrypoints: "web"
|
||||
com.centurylinklabs.watchtower.enable: "true"
|
||||
volumes:
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
Loading…
Reference in New Issue