Sha256: f8fcaa56645bcbe75f6572c768b64ed2a0ed09e0ca8a94af2f04cd11a0cc9274

Contents?: true

Size: 1.55 KB

Versions: 1

Compression:

Stored size: 1.55 KB

Contents

# copy this to docker-compose.override.yml and uncomment lines as needed to override default settings
#
# reminder: use `docker ps` to see the list of running containers and their port mappings
#
version: '3'

services:
  web:
    ports:
      - '3000:80'        # <---- change the first number to set your local port (on 127.0.0.1)
    volumes:
      - ../mysite:/home/app/myapp:delegated                      # set to (relative) path to site you want to run
      # - .:/home/app/imagine_cms:delegated                      # when working on imagine itself
      # - ./prototype-rails:/home/app/prototype-rails:delegated  # when working on imagine dependency prototype-rails
      - log:/home/app/myapp/log
      - node_modules:/home/app/myapp/node_modules
      - rvm:/usr/local/rvm
      - ~/.gitconfig:/home/app/.gitconfig                        # if you want to commit from within the container
    # environment:
    #   PASSENGER_APP_ENV: production
    # networks:  # to use traefik, uncomment this along with the networks section at the bottom
    #   - traefik
    #   - default
    # labels:
    #   traefik.docker.network: traefik

  db:
    ports:               # access using mysql -P (not -p), ex: mysql -h 127.0.0.1 -P 33060 -u root
      # - '33060:3306'   # <---- change the first number to set your local port
      - '3306'           # <---- or omit the first number entirely to use a random local port (use `docker ps`)
    volumes:
      - db-data:/var/lib/mysql

volumes:
  db-data:
  log:
  node_modules:
  tmp:
  rvm:

# networks:
#   traefik:
#     external: true

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
imagine_cms-5.2.0 docker-compose.override.yml.example