initial commit

This commit is contained in:
2022-07-11 19:27:00 +02:00
commit fc1690fb7d
122 changed files with 29578 additions and 0 deletions

49
docker-compose.yml Normal file
View File

@@ -0,0 +1,49 @@
---
version: '3'
services:
php:
build:
context: .
args:
UID: ${PHP_FPM_USER:-1000}
# uncomment and set your own image if needed
image: ${IMAGE_PHP:-chill_php}:${VERSION:-latest}
volumes:
- .:/var/www/app
environment:
- APP_ENV=${APP_ENV:-prod}
- DATABASE_HOST=${DATABASE_HOST:-db}
- DATABASE_PORT=${DATABASE_PORT:-5432}
- REDIS_HOST=${REDIS_HOST:-redis}
- REDIS_PORT=${REDIS_PORT:-6379}
links:
- db
- redis
- relatorio
nginx:
build:
context: .
dockerfile: docker/nginx/Dockerfile
image: ${IMAGE_NGINX-chill_nginx}:${VERSION:-latest}
volumes:
- .:/var/www/app
# - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
links:
- php
ports:
- "8001:80"
db:
image: postgis/postgis:12-3.1-alpine
volumes:
- ./docker/db/docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
ports:
- "127.0.0.1:5432:5432"
environment:
- "POSTGRES_PASSWORD=postgres"
redis:
image: redis
relatorio:
image: registry.gitlab.com/champs-libres/public/relatorio-tornado/app:latest