Last active
March 25, 2020 04:03
-
-
Save bds/83c6a0dc16d96f580247b7e53dcf641f to your computer and use it in GitHub Desktop.
Crystal Docker Starter
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
.env | |
.gitignore | |
*.swp | |
node_modules | |
npm-debug.log |
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
*.swp |
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.7" | |
services: | |
crystal: | |
build: "." | |
image: "crystal" | |
working_dir: /usr/src/app | |
container_name: crystal-container | |
environment: | |
- FOO=bar | |
secrets: | |
- example_pem | |
ports: | |
- "3000:3000" | |
volumes: | |
- .:/usr/src/app | |
- node_modules:/usr/src/app/node_modules | |
networks: | |
- crystal-starter-network | |
networks: | |
crystal-starter-network: | |
driver: bridge | |
secrets: | |
example_pem: | |
file: ./example.pem | |
volumes: | |
node_modules: |
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
FROM crystallang/crystal:0.33.0-alpine-build | |
RUN crystal --version |
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
hola |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment