Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion db/dump/prestashop_fullcustomer.dump.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
--
-- Host: localhost Database: localhost
-- ------------------------------------------------------
-- Server version 10.1.21-MariaDB-1~jessie
-- Server version 10.1.21-MariaDB-1~stretch

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
Expand Down
4 changes: 2 additions & 2 deletions docker_services.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

#
# You need to provide your Registry address here:
#REGISTRY=uggla
REGISTRY=registry.uggla.fr
#REGISTRY=registry.uggla.fr
REGISTRY=lab7-2.labossi.hpintelco.org:5500
KEYSTONE=labossi.hpintelco.org
MYSQL_ROOT_PASSWORD=toto
MYSQL_DATABASE=prestashop
Expand Down
4 changes: 2 additions & 2 deletions microservices/b/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-flask
RUN pip3 install pika
Expand Down
2 changes: 1 addition & 1 deletion microservices/b/b.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5
# -*- coding: utf-8 -*-


Expand Down
6 changes: 3 additions & 3 deletions microservices/i/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-flask
RUN apt-get install -y libmysqlclient-dev sed
RUN apt-get install -y default-libmysqlclient-dev sed
RUN pip3 install mysqlclient
RUN useradd i
COPY config.py i.conf i.py /home/i/
Expand Down
2 changes: 1 addition & 1 deletion microservices/i/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ for a specific id.

- Python 3
- Flask (python3-flask)
- libmysqlclient-dev
- default-libmysqlclient-dev
- python3-pip
- pip3 install mysqlclient

Expand Down
2 changes: 1 addition & 1 deletion microservices/i/i.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5
# -*- coding: utf-8 -*-


Expand Down
4 changes: 2 additions & 2 deletions microservices/p/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-flask
RUN apt-get install -y python3-redis sed
Expand Down
2 changes: 1 addition & 1 deletion microservices/p/p.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5
# -*- coding: utf-8 -*-


Expand Down
4 changes: 2 additions & 2 deletions microservices/s/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-flask
RUN apt-get install -y python3-redis sed
Expand Down
2 changes: 1 addition & 1 deletion microservices/s/s.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5
# -*- coding: utf-8 -*-


Expand Down
4 changes: 2 additions & 2 deletions microservices/w/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-flask
RUN apt-get install -y imagemagick
Expand Down
2 changes: 1 addition & 1 deletion microservices/w/w.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5
# -*- coding: utf-8 -*-


Expand Down
4 changes: 2 additions & 2 deletions microservices/w1/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN apt-get install -y python3-redis sed
RUN pip3 install -U pip
Expand Down
2 changes: 1 addition & 1 deletion microservices/w1/w1.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5

# Worker 1 called by service B. This worker listen to amqp messages and write
# to redis that the user played, and push the image price to swift.
Expand Down
4 changes: 2 additions & 2 deletions microservices/w2/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y python3.5
RUN apt-get install -y python3-pip
RUN pip3 install pika
RUN useradd w2
Expand Down
2 changes: 1 addition & 1 deletion microservices/w2/w2.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3
#!/usr/bin/env python3.5

# Worker 1 called by service B. This worker listen to amqp messages and write
# to redis that the user played, and push the image price to swift.
Expand Down
2 changes: 1 addition & 1 deletion web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM debian:jessie
FROM debian:stretch
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y apache2
Expand Down