forked from snapshot-labs/snapshot-hub
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1fbcec
commit d7aa610
Showing
5 changed files
with
41 additions
and
13 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
node_modules | ||
npm-debug.log | ||
.dockerignore | ||
Dockerfile | ||
Dockerfile |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
version: "3.7" | ||
services: | ||
|
||
# Snapshot Hub | ||
snap-hub: | ||
# Snapshot hub | ||
snapshot-hub: | ||
build: . | ||
container_name: snap-hub | ||
container_name: snapshot-hub | ||
env_file: | ||
- .env.local | ||
depends_on: | ||
- snap-redis | ||
- snapshot-redis | ||
ports: | ||
- "8080:8080" | ||
|
||
# Snapshot Redis Instance | ||
snap-redis: | ||
# Snapshot Redis instance | ||
snapshot-redis: | ||
image: redis:6.0 | ||
container_name: snap-redis | ||
# Snapshot MySQL Instance | ||
snap-mysql: | ||
container_name: snapshot-redis | ||
|
||
# Snapshot MySQL instance | ||
snapshot-mysql: | ||
image: mysql:8.0.21 | ||
container_name: snap-mysql | ||
container_name: snapshot-mysql | ||
environment: | ||
MYSQL_USER: "admin" | ||
MYSQL_PASSWORD: "admin" | ||
MYSQL_DATABASE: "testdb" | ||
|
||
networks: | ||
default: | ||
name: snap-network | ||
name: snapshot-network |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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