Welcome Guest, Not a member yet? Register   Sign In
What is my current working dir?
#6

Hi Max. Nice dog! We adopted a new dog yesterday and i spent the last day trying to teach it to use the dog door instead of peeing on the floor! I have a bunch of containers being spawned by docker compose. The two of interest are:
apache:
    image: bitnami/apache:latest
    restart: unless-stopped
    ports:
      - 80:8080
    volumes:
      - ./apache/app.conf:/vhosts/app.conf:ro
      - ./app:/app
    networks:
      - net
and

php-fpm:
    build: ./php
    restart: unless-stopped
    image: bitnami/php-fpm
    volumes:
      - ./app:/app
    environment:
      - XDEBUG_CONFIG="remote_host=192.168.122.1"
    networks:
      - net
I didn't create this docker-compose and am really a docker neophyte. I really don't understand why this is a shared volume but docker inspect shows it as a bind. I need to change the propagation to rshared (I think).

{
    "Type": "bind",
    "Source": "/opt/docker-substantiator/app",
    "Destination": "/app",
    "Mode": "rw",
    "RW": true,
    "Propagation": "rprivate"
  }

I think that this is the docker-compose that is being used (and restarted). Right now I am looking the the vol-options and hoping I can use this to modify the "propagation" type. Glad to hear someone else up here is using Docker. It is pretty much required if you are serious about your webApp, IMO. Previously I debugged my app directly on the Server and hope to never do that again!
proof that an old dog can learn new tricks
Reply


Messages In This Thread
What is my current working dir? - by richb201 - 05-03-2020, 11:08 AM
RE: What is my current working dir? - by jreklund - 05-03-2020, 12:48 PM
RE: What is my current working dir? - by richb201 - 05-04-2020, 07:38 AM
RE: What is my current working dir? - by jreklund - 05-04-2020, 10:56 AM
RE: What is my current working dir? - by maxxd - 05-04-2020, 02:55 PM
RE: What is my current working dir? - by richb201 - 05-06-2020, 06:45 AM
RE: What is my current working dir? - by atsanna - 05-06-2020, 09:31 AM
RE: What is my current working dir? - by richb201 - 05-06-2020, 10:17 AM
RE: What is my current working dir? - by maxxd - 05-07-2020, 04:15 AM
RE: What is my current working dir? - by richb201 - 05-07-2020, 08:48 AM
RE: What is my current working dir? - by richb201 - 05-23-2020, 11:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB