mirror of
https://gitea.invidious.io/iv-org/shard-radix.git
synced 2024-08-15 00:43:21 +00:00
2e77e6463a
Move away from local installed Crystal and use `hydrofoil-crystal` container image as runtime environment. The included `docker-compose.yml` and `Procfile.dev` files setups everything that is needed to automatically run the project's specs. To start watching for changes, in a console: $ docker compose up (Use `docker-compose` if you're still using old version of Docker Compose) You can press `Ctrl+C` to stop it or from another console: $ docker compose stop [skip ci]
11 lines
295 B
YAML
11 lines
295 B
YAML
services:
|
|
crystal:
|
|
image: ghcr.io/luislavena/hydrofoil-crystal:1.2
|
|
command: overmind start -f Procfile.dev
|
|
working_dir: /app
|
|
|
|
# Set these env variables using `export FIXUID=$(id -u) FIXGID=$(id -g)`
|
|
user: ${FIXUID:-1000}:${FIXGID:-1000}
|
|
|
|
volumes:
|
|
- .:/app:cached
|