File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -885,7 +885,7 @@ Here's how
885
885
ports: 80:8888
886
886
887
887
- name: Run migration inside container
888
- community.docker.docker_container_exec: # <4 >
888
+ community.docker.docker_container_exec: # <3 >
889
889
container: superlists
890
890
command: ./manage.py migrate
891
891
----
@@ -894,12 +894,10 @@ Here's how
894
894
<1> We use `file` with `state=touch` to make sure a placeholder file exists
895
895
before we try and mount it in
896
896
897
- <2> Here is the `mounts` config, which works a lot like the `--mount` flag to `docker run`.
897
+ <2> Here is the `mounts` config, which works a lot like the `--mount` flag to
898
+ `docker run`.
898
899
899
- <3> We use the `expanduser` filter to get the absolute path,
900
- otherwise docker will complain about the `~`.
901
-
902
- <2> And we use the API for `docker exec` to run the migration command inside
900
+ <3> And we use the API for `docker exec` to run the migration command inside
903
901
the container.
904
902
905
903
You can’t perform that action at this time.
0 commit comments