adding some mysql function to convert to postgresal
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 4s
This commit is contained in:
+7
-7
@@ -1,12 +1,12 @@
|
||||
services:
|
||||
db:
|
||||
image: django:local
|
||||
image: docker.io/library/postgres:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- type: bind
|
||||
target: /code
|
||||
source: ./django_code
|
||||
command: python manage.py runserver 0.0.0.0:7000
|
||||
- db:/var/lib/postgresql/
|
||||
ports:
|
||||
- 7000:7000
|
||||
|
||||
- 5432:5432
|
||||
environment:
|
||||
POSTGRES_PASSWORD: example
|
||||
volumes:
|
||||
db:
|
||||
|
||||
Reference in New Issue
Block a user