services: clog: container_name: clog image: clog:latest build: . ports: - "8888:8888" environment: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_HOST=172.17.2.2 - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_USER=${POSTGRES_USER} depends_on: - postgres postgres: container_name: clog-postgres image: postgres:14-alpine volumes: - .vols/database:/var/lib/postgresql/data ports: - "5555:5432" environment: - POSTGRES_DB=${POSTGRES_DB} - POSTGRES_PASSWORD=${POSTGRES_PASSWORD} - POSTGRES_USER=${POSTGRES_USER}