Skip to content

Commit

Permalink
fix something in docker-compose (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
khanhduzz authored Oct 8, 2024
1 parent 4c8dc79 commit d39c1e0
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 87 deletions.
13 changes: 13 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Postgres
POSTGRES_USER=
POSTGRES_PASSWORD=
POSTGRES_HOST=
POSTGRES_PORT=

SERVER_PORT=

# Swagger UI
URLS=

# Start all service when run docker compose up
COMPOSE_FILE=docker-compose.yml
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ build/

### VS Code ###
.vscode/
.env
10 changes: 8 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ services:
- ./identity/themes/matcha/theme:/opt/keycloak/themes
networks:
- matcha-network
ports:
- "8080:80"

postgres:
image: debezium/postgres:15-alpine
Expand All @@ -37,6 +39,10 @@ services:
- matcha-network

networks:
yas-network:
matcha-network:
driver: bridge
name: matcha-network
name: matcha-network

volumes:
postgres:
pgadmin:
Loading

0 comments on commit d39c1e0

Please sign in to comment.