Files
wanderer/.devcontainer/docker-compose.yml
T
Dmitry Popov 4136aaad76 Initial commit
2024-09-18 01:55:30 +04:00

37 lines
740 B
YAML

version: "0.1"
services:
db:
image: postgres:14.3
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
ports:
- "5432:5432"
volumes:
- db:/var/lib/postgresql/data
wanderer:
environment:
PORT: 8000
DB_HOST: db
WEB_APP_URL: "http://localhost:4444"
ERL_AFLAGS: "-kernel shell_history enabled"
build:
context: .
dockerfile: Dockerfile
ports:
- 8000:8000
volumes:
- ..:/app:delegated
- ~/.gitconfig:/root/.gitconfig
- ~/.gitignore:/root/.gitignore
- ~/.ssh:/root/.ssh
- elixir-artifacts:/opt/elixir-artifacts
command: sleep infinity
volumes:
elixir-artifacts: {}
db: {}