Last active
November 19, 2024 23:28
-
-
Save kuc-arc-f/747dc290b91ebf48bc5656f6949969b8 to your computer and use it in GitHub Desktop.
docker-bun-postgres
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
bun: | |
build: ./docker-bun | |
ports: | |
- 3000:3000 | |
volumes: | |
- ./:/work | |
tty: true | |
db: | |
image: postgres:12.8 | |
ports: | |
- 5432:5432 | |
volumes: | |
- ./db_data:/var/lib/postgresql/data | |
restart: always | |
environment: | |
- POSTGRES_DB=laravel | |
- POSTGRES_USER=root | |
- POSTGRES_PASSWORD=root |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM debian | |
RUN apt-get update && apt-get install -y \ | |
zip \ | |
unzip \ | |
curl | |
WORKDIR /work |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment