oxidetalis/docker-compose.yml
Awiteb 4964ba085f
All checks were successful
Write changelog / write-changelog (push) Successful in 4s
Update Contributors / Update Contributors (push) Successful in 5s
Rust CI / Rust CI (push) Successful in 4m23s
change: Change the default port
Signed-off-by: Awiteb <a@4rs.nl>
2024-07-20 21:50:13 +03:00

25 lines
585 B
YAML

version: '3'
services:
oxidetalis:
container_name: oxidetalis
build:
context: ./
dockerfile: ./crates/oxidetalis/Dockerfile
environment:
- OXIDETALIS_CONFIG=/app/config.toml
ports:
- 127.0.0.1:7294:7294
depends_on:
- db
volumes:
- ./config.toml:/app/config.toml
db:
container_name: oxidetalis_postgres
image: postgres:latest
environment:
POSTGRES_USER: oxidetalis
POSTGRES_PASSWORD: oxidetalis
POSTGRES_DB: oxidetalis_db
# This for devlopment only
ports:
- 127.0.0.1:5432:5432