Created
February 8, 2023 18:09
-
-
Save Jks15063/f7cd86677b45312fffda2284763e2984 to your computer and use it in GitHub Desktop.
simple docker setup
This file contains hidden or 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.8" | |
services: | |
phoenix: | |
build: . | |
volumes: | |
- ./src:/app | |
ports: | |
- "4000:4000" | |
depends_on: | |
- postgres | |
postgres: | |
image: postgres | |
volumes: | |
- db-data0:/var/lib/postgresql/data | |
environment: | |
POSTGRES_DB: docker_test_dev | |
POSTGRES_PASSWORD: postgres | |
POSTGRES_USER: postgres | |
volumes: | |
db-data0: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment