mirror of
https://github.com/mortdeus/legacy-cc.git
synced 2026-10-09 12:22:24 +00:00
init
This commit is contained in:
29
#_sniper (Rust) using jito Shred stream/docker-compose.yml
Normal file
29
#_sniper (Rust) using jito Shred stream/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
version: '3.9'
|
||||
|
||||
services:
|
||||
rustapp:
|
||||
container_name: rustapp
|
||||
image: francescoxx/rustapp:1.0.0
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
DATABASE_URL: postgres://postgres:postgres@db:5432/postgres
|
||||
ports:
|
||||
- '8080:8080'
|
||||
depends_on:
|
||||
- db
|
||||
db:
|
||||
container_name: db
|
||||
image: postgres:12
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: postgres
|
||||
POSTGRES_DB: postgres
|
||||
ports:
|
||||
- '5432:5432'
|
||||
volumes:
|
||||
- pgdata:/var/lib/postgresql/data
|
||||
|
||||
volumes:
|
||||
pgdata: {}
|
||||
Reference in New Issue
Block a user