version: '3' services: db: image: postgres:15 volumes: - "./data/db/pgdata:/var/lib/postgresql/data/" env_file: - ./.env restart: always networks: - internal pgadmin: image: dpage/pgadmin4 #volumes: # - "./data/pgadmin/lib:/var/lib/pgadmin" env_file: - ./.env ports: - 80:5050 restart: always networks: - internal depends_on: - db forest: depends_on: - "db" build: ./src/forest image: forest:latest ports: - 5000:5000 env_file: - ./.env restart: unless-stopped networks: - internal labels: - meta.role=forest osmtile: image: overv/openstreetmap-tile-server:2.3.0 hostname: osmtile environment: - "DOWNLOAD_PBF=https://download.geofabrik.de/europe/bulgaria-latest.osm.pbf" - "DOWNLOAD_POLY=https://download.geofabrik.de/europe/bulgaria.poly" volumes: - "./data/osmtile/pgdata:/data/database/" command: "run" #command: "import" ports: - 80:8000 networks: - internal restart: always networks: internal: {}