mirror of
https://github.com/wanderer-industries/wanderer
synced 2026-05-02 07:20:31 +00:00
37 lines
740 B
YAML
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: {}
|