Skip to content

Commit

Permalink
Move dockerfiles out of server crates
Browse files Browse the repository at this point in the history
  • Loading branch information
rimrakhimov committed Jun 26, 2024
1 parent dd94588 commit e2622b4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ services:
## you can build an image locally, or use pre-built images from registry
# image: ghcr.io/blockscout/eth-bytecode-db:main
build:
context: ..
dockerfile: ./eth-bytecode-db-server/Dockerfile
context: .
dockerfile: ./Dockerfile
container_name: 'eth-bytecode-db'
restart: always
depends_on:
Expand All @@ -39,7 +39,7 @@ services:
ETH_BYTECODE_DB__DATABASE__RUN_MIGRATIONS: true
env_file:
## optional: if provided, would overwrite values from configuration file
- ./config/base.env
- ./eth-bytecode-db-server/config/base.env
volumes:
## optional: you can use default config or provide custom via file
- ./config/base.toml:/app/config.toml
- ./eth-bytecode-db-server/config/base.toml:/app/config.toml
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ services:
## you can build an image locally, or use pre-built images from registry
# image: ghcr.io/blockscout/smart-contract-verifier:main
build:
context: ..
dockerfile: smart-contract-verifier-server/Dockerfile
context: .
dockerfile: ./Dockerfile
ports:
- "8050:8050"
- "8051:8051"
Expand All @@ -14,9 +14,9 @@ services:
- SMART_CONTRACT_VERIFIER__CONFIG=/app/config.toml
env_file:
## optional: if provided, would overwrite values from configuration file
- ./config/base.env
- ./smart-contract-verifier-server/config/base.env
volumes:
## optional: you can use default config or provide custom via file
- ./config/base.toml:/app/config.toml
- ./smart-contract-verifier-server/config/base.toml:/app/config.toml
## optional: provide volume or folder to store compilers between launches
- /tmp/compilers:/tmp/compilers

0 comments on commit e2622b4

Please sign in to comment.