mirror of
https://github.com/maciejpedzich/six-degs-of-f1.git
synced 2024-11-12 17:43:02 +01:00
36 lines
594 B
YAML
36 lines
594 B
YAML
networks:
|
|
private:
|
|
external: false
|
|
name: sixdegs
|
|
public:
|
|
external: true
|
|
name: $PUBLIC_NETWORK
|
|
|
|
volumes:
|
|
data:
|
|
name: sixdegs_data
|
|
driver: local
|
|
|
|
services:
|
|
app:
|
|
build:
|
|
dockerfile: ./Dockerfile
|
|
container_name: sixdegs
|
|
hostname: sixdegs
|
|
networks:
|
|
- public
|
|
- private
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
depends_on:
|
|
- db
|
|
db:
|
|
image: memgraph/memgraph:2.18.1
|
|
container_name: sixdegs-db
|
|
hostname: sixdegs-db
|
|
networks:
|
|
- private
|
|
volumes:
|
|
- data:/var/lib/memgraph
|
|
restart: always
|