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: - ${MG_TELEGRAM_ADDRESS:-8090}:8090 command: make build run networks: default: driver: bridge