--- version: '3' services: php: build: context: . args: UID: ${PHP_FPM_USER:-1000} # uncomment and set your own image if needed image: ${IMAGE_PHP:-chill_php82}:${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:14-3.3-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