2024-07-27 17:29:14 +02:00
|
|
|
networks:
|
|
|
|
private:
|
|
|
|
external: false
|
|
|
|
name: sixdegs
|
|
|
|
public:
|
|
|
|
external: true
|
|
|
|
name: $PUBLIC_NETWORK
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
data:
|
|
|
|
name: sixdegs_data
|
|
|
|
driver: local
|
|
|
|
|
|
|
|
services:
|
2024-07-27 17:35:56 +02:00
|
|
|
app:
|
|
|
|
build:
|
|
|
|
dockerfile: ./Dockerfile
|
|
|
|
container_name: sixdegs
|
|
|
|
hostname: sixdegs
|
|
|
|
networks:
|
|
|
|
- public
|
|
|
|
- private
|
|
|
|
restart: unless-stopped
|
2024-07-27 17:53:43 +02:00
|
|
|
env_file: .env
|
2024-07-27 17:35:56 +02:00
|
|
|
depends_on:
|
|
|
|
- db
|
2024-07-27 17:29:14 +02:00
|
|
|
db:
|
|
|
|
image: memgraph/memgraph:2.18.1
|
|
|
|
container_name: sixdegs-db
|
|
|
|
hostname: sixdegs-db
|
|
|
|
networks:
|
|
|
|
- private
|
|
|
|
volumes:
|
|
|
|
- data:/var/lib/memgraph
|
|
|
|
restart: always
|