fnp
/
wolnelektury.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Docker and testing changes
[wolnelektury.git]
/
docker-compose.yml
diff --git
a/docker-compose.yml
b/docker-compose.yml
index
b01e970
..
55a09d8
100644
(file)
--- a/
docker-compose.yml
+++ b/
docker-compose.yml
@@
-1,7
+1,7
@@
x-app-base: &app-base
build:
context: .
x-app-base: &app-base
build:
context: .
- target: de
v
+ target: de
ps
args:
UID: ${UID:-1000}
GID: ${GID:-1000}
args:
UID: ${UID:-1000}
GID: ${GID:-1000}
@@
-27,6
+27,9
@@
services:
web:
<<: *app-base
command: ./manage.py runserver 0.0.0.0:8000
web:
<<: *app-base
command: ./manage.py runserver 0.0.0.0:8000
+ ports:
+ # Dev: use http://localhost:8000/ directly
+ - "127.0.0.1:8000:8000"
celery:
<<: *app-base
celery:
<<: *app-base
@@
-48,6
+51,9
@@
services:
image: memcached:1.6-alpine
nginx:
image: memcached:1.6-alpine
nginx:
+ # Just for testing production-like environment.
+ # docker compose --profile nginx up
+ profiles: ["nginx"]
build:
context: .
target: nginx
build:
context: .
target: nginx