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: {}