Public Repository

Last pushed: 9 months ago
Short Description
Short description is empty for this repo.
Full Description

Full description is empty for this repo.

Docker Pull Command
Owner
culturagovbr

Comments (2)
vinnyfs89
9 months ago

Fast way

docker run -it -v /var/www/:/var/www/ --name webserver-apache-php5-debian --add-host local.salic:127.0.0.1 --add-host local.salic.postgre:127.0.0.1 --add-host homolog.cultura.gov.br:10.0.0.13 --add-host mailapp.cultura.gov.br:192.168.10.25 --add-host id.cultura.gov.br:192.168.11.32 -p 80:80 culturagovbr/web-apache-php5-debian:latest
vinnyfs89
a year ago

You can run this image and generate a docker container by using the docker run command or using the docker-compose.yml file + docker-compose command.

Begin docker run command

docker run -it -v /var/www/:/var/www/ --name webserver-apache-php5-debian -p 80:80 culturagovbr/web-apache-php5-debian:0.2

End docker run command

or

Begin docker-compose.yml file

version: '2'
services:
  web:
    container_name: web-apache-php5-debian_02
    image: culturagovbr/web-apache-php5-debian:0.2
    volumes:
    - /var/www:/var/www
    ports:
    - 80:80
    expose:
    - 80
    extra_hosts:
    - "salic.gov.br:127.0.0.1"
    - "localhost:127.0.0.1"
    - "local.salic:127.0.0.1"
    command: "/bin/bash apachectl -D FOREGROUND"
    restart: always
    labels:
      com.salic.description: "Aplicação web"

End docker-compose.yml

To execute the docker-compose.yml file, just use the commando below:

docker-compose up