vegapokerbot/compose.yml

32 lines
576 B
YAML
Raw Normal View History

2024-05-07 21:49:09 +03:00
services:
db:
image: postgres:latest
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: app
POSTGRES_DATABASE: app
ports:
- ${POSTGRES_ADDRESS:-127.0.0.1:5432}:${POSTGRES_PORT:-5432}
networks:
- default
app:
image: "neur0toxine/golang-alpine:1.22"
working_dir: /app
user: ${UID:-1000}:${GID:-1000}
networks:
- default
volumes:
- ./:/app
links:
- db
environment:
GOCACHE: /go
ports:
2024-05-10 11:46:43 +03:00
- 3333:3333
2024-05-07 21:49:09 +03:00
command: make build run
networks:
default:
driver: bridge