mirror of
https://github.com/veganhacktivists/arabot.git
synced 2025-05-19 01:04:13 +02:00
26 lines
397 B
YAML
26 lines
397 B
YAML
services:
|
|
postgres:
|
|
image: postgres:14
|
|
container_name: postgres
|
|
restart: always
|
|
ports:
|
|
- 5432:5432
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- postgres:/var/lib/postgresql/data
|
|
|
|
node:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
depends_on:
|
|
- postgres
|
|
restart: on-failure
|
|
env_file:
|
|
- .env
|
|
|
|
volumes:
|
|
postgres:
|
|
name: arabot-db
|