-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from gjedlicska/containers_kickstart
Specle Server 2.0 dev deployment
- Loading branch information
Showing
9 changed files
with
144 additions
and
61 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
version: "3" | ||
services: | ||
server: | ||
build: | ||
. | ||
depends_on: | ||
- database | ||
- redis | ||
ports: | ||
- "3000:3000" | ||
environment: | ||
DEBUG: "speckle:*" | ||
env_file: | ||
- .env | ||
|
||
database: | ||
image: "postgres:13.1-alpine" # use the current alpine version for smaller image | ||
environment: | ||
POSTGRES_DB: | ||
POSTGRES_USER: | ||
POSTGRES_PASSWORD: | ||
volumes: | ||
# persist data even if container shuts down | ||
- speckle-postgres-data:/var/lib/postgresql/data/ | ||
ports: | ||
- "5432:5432" | ||
|
||
pgadmin: | ||
image: dpage/pgadmin4 | ||
environment: | ||
PGADMIN_DEFAULT_EMAIL: ${PGADMIN_EMAIL} | ||
PGADMIN_DEFAULT_PASSWORD: ${PGADMIN_PASSWORD} | ||
ports: | ||
- "16543:80" | ||
depends_on: | ||
- database | ||
|
||
redis: | ||
image: "redis:6.0-alpine" | ||
ports: | ||
- "6379:6379" # It is not neccesary to expose the reddis port if running the app with compose | ||
volumes: | ||
- redis_volume_data:/data | ||
|
||
redis_insight: | ||
image: redislabs/redisinsight:latest | ||
container_name: redis_insight | ||
restart: always | ||
depends_on: | ||
- redis | ||
ports: | ||
- 8001:8001 | ||
volumes: | ||
- redis_insight_volume_data:/db | ||
|
||
volumes: | ||
speckle-postgres-data: # named volumes can be managed easier using docker-compose | ||
redis_volume_data: | ||
redis_insight_volume_data: |
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
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
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