Skip to content
Snippets Groups Projects
Commit a88ecef9 authored by Pierre-Gilles Levallois's avatar Pierre-Gilles Levallois
Browse files

add a docker compose file for local deployment (testing)

parent d78dd17e
No related branches found
No related tags found
1 merge request!6Fully functional version that calculate layer with all stages
Pipeline #49707 passed
# Proxy (le docker-compose n'est utilisé que pour builder sur un PC developpeur)
http_proxy=http://proxyhttppronoauth.grandlyon.fr:8080/
https_proxy=http://proxyhttppronoauth.grandlyon.fr:8080/
no_proxy=grandlyon.fr
version: "3.8"
services:
# postgres:
# container_name: calqul_db
# build:
# context: ./Dockerfiles/db
# dockerfile: Dockerfile
# env_file:
# - .env-docker-compose-dev
# environment:
# - POSTGRES_DB=calque_planta_temp
# - POSTGRES_SCHEMA=base
# - POSTGRES_USER=calqul
# - POSTGRES_PASSWORD=calqul
# - POSTGRES_SERVER=localhost
# - POSTGRES_PORT=5432
# ports:
# - 5432:5432
# # env_file:
# # - .env-docker-compose-dev
# volumes:
# - ./Dockerfiles/db/db-init/:/docker-entrypoint-initdb.d/
# - ./db-data/:/var/lib/postgresql/data/
python:
container_name: calqul_python
build:
context: ./Dockerfiles/python
dockerfile: Dockerfile
env_file:
- .env-docker-compose-dev
environment:
- DATABASE_URL=postgres://calqul:calqul@calqul_db:5432/calque_planta_temp
# depends_on:
# - db
networks:
calqul_network:
name: calqul_network
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment