mpeltriaux
ab3bd84f3b
* adds logging for gunicorn by default * adds image tagging * drops docker-compose environment setting in favor of .env usage (needs to be copied from .env.sample)
24 lines
569 B
YAML
24 lines
569 B
YAML
version: '3.3'
|
|
|
|
services:
|
|
konova:
|
|
external_links:
|
|
- postgis:db
|
|
- arnova-nginx-server:arnova
|
|
build: .
|
|
image: "ksp/konova:1.7"
|
|
container_name: "konova-docker"
|
|
command: ./docker-entrypoint.sh
|
|
restart: always
|
|
volumes:
|
|
- /data/apps/konova/uploaded_files:/konova_uploaded_files
|
|
ports:
|
|
- "1337:80"
|
|
|
|
# Instead of an own, new network, we need to connect to the existing one, which is provided by the postgis container
|
|
# NOTE: THIS NETWORK MUST EXIST
|
|
networks:
|
|
default:
|
|
external:
|
|
name: postgis_nat_it_backend
|