Skip to content

Commit

Permalink
Reimplement django image in docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
jacklinke committed Oct 29, 2024
1 parent baef5b3 commit a7ffffd
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
version: "3"

volumes:
postgres_data:

services:
# django_test:
# build:
# context: .
# dockerfile: ./compose/django/Dockerfile
# image: django_tenant_options_django
# container_name: django_test
# env_file:
# - ./compose/django/.django
# ports:
# - "8111:8111"
# command: /start
django_test:
build:
context: .
dockerfile: ./compose/django/Dockerfile
image: django_tenant_options
container_name: django_test

env_file:
- ./compose/django/.django
ports:
- "8111:8111"
command: /start

postgres:
image: postgres:16
container_name: django_test_postgres
ports:
- "5432:5432"
- "5437:5432"
volumes:
- postgres_data:/var/lib/postgresql/data

0 comments on commit a7ffffd

Please sign in to comment.