Skip to content

Commit

Permalink
add: compose.2023preround.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
K-shir0 committed Dec 17, 2023
1 parent f9d7ca9 commit 396b830
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions compose.2023preround.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
services:
rikka:
build:
context: .
dockerfile: Dockerfile
command: /root/rikka --config /root/config.yaml
ports:
- ${RIKKA_PORT}:8080
volumes:
- ./cmd/rikka/config.docker.yaml:/root/config.yaml
- .:/go/src/ictsc-rikka:cached
- .local/pkg:/go/pkg:cached
restart: always
depends_on:
- mariadb
- redis
- minio
# rstate が localhost のため、ホストからアクセスできるようにする
extra_hosts:
- "host.docker.internal:host-gateway"
ritto:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./cmd/ritto/config.yaml:/root/config.yaml
- ./cmd/ritto/run.sh:/root/run.sh
command: ./run.sh
restart: unless-stopped
depends_on:
- mariadb
- redis
- minio

0 comments on commit 396b830

Please sign in to comment.